increase 1.318.0 → 1.320.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/entity_create_params.rb +6 -4
- data/lib/increase/models/entity_update_params.rb +10 -1
- data/lib/increase/models/simulations/{entity_validation_params.rb → entity_update_validation_params.rb} +14 -35
- data/lib/increase/resources/simulations/entities.rb +13 -11
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -1
- data/rbi/increase/models/entity_create_params.rbi +8 -4
- data/rbi/increase/models/entity_update_params.rbi +16 -3
- data/rbi/increase/models/simulations/{entity_validation_params.rbi → entity_update_validation_params.rbi} +21 -76
- data/rbi/increase/resources/simulations/entities.rbi +8 -10
- data/sig/increase/models/entity_update_params.rbs +10 -3
- data/sig/increase/models/simulations/{entity_validation_params.rbs → entity_update_validation_params.rbs} +11 -33
- data/sig/increase/resources/simulations/entities.rbs +2 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f31dce22ce8d21615197f939077cf09a4c10b17791fd1d7a2d18f6ced99af7e
|
|
4
|
+
data.tar.gz: fc25a99bf46c44e7f103fa343b32f50801a87dc1af7f9fe0de267ae5ea10ab97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90ddc738082df83cfb68a12a8e45d2db05d4ee24aa83b968ab7fc495884923ab7b79210fbd369a5e7611f8fd423499ee738c428b5a0b73a4ff9581183f969efc
|
|
7
|
+
data.tar.gz: b17e5bb96699753510731a49549493bad2aa18e13226627c226ef8bee28b015fa75d54b03445d4a0e7bb75f6c697a0a467b43800bdaabb5d07fb1cab58d2018d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.320.0 (2026-05-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.319.0...v1.320.0](https://github.com/Increase/increase-ruby/compare/v1.319.0...v1.320.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([41332d8](https://github.com/Increase/increase-ruby/commit/41332d8e1c14fb7fc4c8b36a088ac3a1924cb8dc))
|
|
10
|
+
|
|
11
|
+
## 1.319.0 (2026-05-01)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.318.0...v1.319.0](https://github.com/Increase/increase-ruby/compare/v1.318.0...v1.319.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([6caa909](https://github.com/Increase/increase-ruby/commit/6caa90905caa7a42a2497fe069ac243c5f7e4540))
|
|
18
|
+
|
|
3
19
|
## 1.318.0 (2026-05-01)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.317.0...v1.318.0](https://github.com/Increase/increase-ruby/compare/v1.317.0...v1.318.0)
|
data/README.md
CHANGED
|
@@ -200,7 +200,8 @@ module Increase
|
|
|
200
200
|
optional :industry_code, String
|
|
201
201
|
|
|
202
202
|
# @!attribute website
|
|
203
|
-
#
|
|
203
|
+
# A website for the business. Not every program requires a website for submitted
|
|
204
|
+
# Entities.
|
|
204
205
|
#
|
|
205
206
|
# @return [String, nil]
|
|
206
207
|
optional :website, String
|
|
@@ -228,7 +229,7 @@ module Increase
|
|
|
228
229
|
#
|
|
229
230
|
# @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
|
|
230
231
|
#
|
|
231
|
-
# @param website [String]
|
|
232
|
+
# @param website [String] A website for the business. Not every program requires a website for submitted E
|
|
232
233
|
|
|
233
234
|
# @see Increase::Models::EntityCreateParams::Corporation#address
|
|
234
235
|
class Address < Increase::Internal::Type::BaseModel
|
|
@@ -773,7 +774,8 @@ module Increase
|
|
|
773
774
|
required :tax_identifier, String
|
|
774
775
|
|
|
775
776
|
# @!attribute website
|
|
776
|
-
#
|
|
777
|
+
# A website for the government authority. Not every program requires a website for
|
|
778
|
+
# submitted Entities.
|
|
777
779
|
#
|
|
778
780
|
# @return [String, nil]
|
|
779
781
|
optional :website, String
|
|
@@ -795,7 +797,7 @@ module Increase
|
|
|
795
797
|
#
|
|
796
798
|
# @param tax_identifier [String] The Employer Identification Number (EIN) for the government authority. Submit ni
|
|
797
799
|
#
|
|
798
|
-
# @param website [String]
|
|
800
|
+
# @param website [String] A website for the government authority. Not every program requires a website for
|
|
799
801
|
|
|
800
802
|
# @see Increase::Models::EntityCreateParams::GovernmentAuthority#address
|
|
801
803
|
class Address < Increase::Internal::Type::BaseModel
|
|
@@ -140,7 +140,14 @@ module Increase
|
|
|
140
140
|
# @return [String, nil]
|
|
141
141
|
optional :name, String
|
|
142
142
|
|
|
143
|
-
# @!
|
|
143
|
+
# @!attribute website
|
|
144
|
+
# A website for the business. Not every program requires a website for submitted
|
|
145
|
+
# Entities.
|
|
146
|
+
#
|
|
147
|
+
# @return [String, nil]
|
|
148
|
+
optional :website, String
|
|
149
|
+
|
|
150
|
+
# @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, legal_identifier: nil, name: nil, website: nil)
|
|
144
151
|
# Some parameter documentations has been truncated, see
|
|
145
152
|
# {Increase::Models::EntityUpdateParams::Corporation} for more details.
|
|
146
153
|
#
|
|
@@ -158,6 +165,8 @@ module Increase
|
|
|
158
165
|
# @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
|
|
159
166
|
#
|
|
160
167
|
# @param name [String] The legal name of the corporation.
|
|
168
|
+
#
|
|
169
|
+
# @param website [String] A website for the business. Not every program requires a website for submitted E
|
|
161
170
|
|
|
162
171
|
# @see Increase::Models::EntityUpdateParams::Corporation#address
|
|
163
172
|
class Address < Increase::Internal::Type::BaseModel
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Models
|
|
5
5
|
module Simulations
|
|
6
|
-
# @see Increase::Resources::Simulations::Entities#
|
|
7
|
-
class
|
|
6
|
+
# @see Increase::Resources::Simulations::Entities#update_validation
|
|
7
|
+
class EntityUpdateValidationParams < Increase::Internal::Type::BaseModel
|
|
8
8
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Increase::Internal::Type::RequestParameters
|
|
10
10
|
|
|
@@ -15,24 +15,20 @@ module Increase
|
|
|
15
15
|
required :entity_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute issues
|
|
18
|
-
# The validation issues to attach.
|
|
18
|
+
# The validation issues to attach. If no issues are provided, the validation
|
|
19
|
+
# status will be set to `valid`.
|
|
19
20
|
#
|
|
20
|
-
# @return [Array<Increase::Models::Simulations::
|
|
21
|
+
# @return [Array<Increase::Models::Simulations::EntityUpdateValidationParams::Issue>]
|
|
21
22
|
required :issues,
|
|
22
|
-
-> { Increase::Internal::Type::ArrayOf[Increase::Simulations::
|
|
23
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::Simulations::EntityUpdateValidationParams::Issue] }
|
|
23
24
|
|
|
24
|
-
# @!
|
|
25
|
-
#
|
|
25
|
+
# @!method initialize(entity_id:, issues:, request_options: {})
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Increase::Models::Simulations::EntityUpdateValidationParams} for more details.
|
|
26
28
|
#
|
|
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
29
|
# @param entity_id [String] The identifier of the Entity whose validation status to update.
|
|
32
30
|
#
|
|
33
|
-
# @param issues [Array<Increase::Models::Simulations::
|
|
34
|
-
#
|
|
35
|
-
# @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The validation status to set on the Entity.
|
|
31
|
+
# @param issues [Array<Increase::Models::Simulations::EntityUpdateValidationParams::Issue>] The validation issues to attach. If no issues are provided, the validation statu
|
|
36
32
|
#
|
|
37
33
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
38
34
|
|
|
@@ -40,15 +36,15 @@ module Increase
|
|
|
40
36
|
# @!attribute category
|
|
41
37
|
# The type of issue.
|
|
42
38
|
#
|
|
43
|
-
# @return [Symbol, Increase::Models::Simulations::
|
|
44
|
-
required :category, enum: -> { Increase::Simulations::
|
|
39
|
+
# @return [Symbol, Increase::Models::Simulations::EntityUpdateValidationParams::Issue::Category]
|
|
40
|
+
required :category, enum: -> { Increase::Simulations::EntityUpdateValidationParams::Issue::Category }
|
|
45
41
|
|
|
46
42
|
# @!method initialize(category:)
|
|
47
|
-
# @param category [Symbol, Increase::Models::Simulations::
|
|
43
|
+
# @param category [Symbol, Increase::Models::Simulations::EntityUpdateValidationParams::Issue::Category] The type of issue.
|
|
48
44
|
|
|
49
45
|
# The type of issue.
|
|
50
46
|
#
|
|
51
|
-
# @see Increase::Models::Simulations::
|
|
47
|
+
# @see Increase::Models::Simulations::EntityUpdateValidationParams::Issue#category
|
|
52
48
|
module Category
|
|
53
49
|
extend Increase::Internal::Type::Enum
|
|
54
50
|
|
|
@@ -68,23 +64,6 @@ module Increase
|
|
|
68
64
|
# @return [Array<Symbol>]
|
|
69
65
|
end
|
|
70
66
|
end
|
|
71
|
-
|
|
72
|
-
# The validation status to set on the Entity.
|
|
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
67
|
end
|
|
89
68
|
end
|
|
90
69
|
end
|
|
@@ -4,30 +4,32 @@ module Increase
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Simulations
|
|
6
6
|
class Entities
|
|
7
|
-
#
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {Increase::Models::Simulations::EntityUpdateValidationParams} for more details.
|
|
9
|
+
#
|
|
10
|
+
# Simulate updates to an
|
|
8
11
|
# [Entity's validation](/documentation/api/entities#entity-object.validation). In
|
|
9
12
|
# production, Know Your Customer validations
|
|
10
|
-
# [run automatically](/documentation/entity-validation#entity-validation)
|
|
11
|
-
# developing,
|
|
13
|
+
# [run automatically](/documentation/entity-validation#entity-validation) for
|
|
14
|
+
# eligible programs. While developing, use this API to simulate issues with
|
|
15
|
+
# information submissions.
|
|
12
16
|
#
|
|
13
|
-
# @overload
|
|
17
|
+
# @overload update_validation(entity_id, issues:, request_options: {})
|
|
14
18
|
#
|
|
15
19
|
# @param entity_id [String] The identifier of the Entity whose validation status to update.
|
|
16
20
|
#
|
|
17
|
-
# @param issues [Array<Increase::Models::Simulations::
|
|
18
|
-
#
|
|
19
|
-
# @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The validation status to set on the Entity.
|
|
21
|
+
# @param issues [Array<Increase::Models::Simulations::EntityUpdateValidationParams::Issue>] The validation issues to attach. If no issues are provided, the validation statu
|
|
20
22
|
#
|
|
21
23
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
22
24
|
#
|
|
23
25
|
# @return [Increase::Models::Entity]
|
|
24
26
|
#
|
|
25
|
-
# @see Increase::Models::Simulations::
|
|
26
|
-
def
|
|
27
|
-
parsed, options = Increase::Simulations::
|
|
27
|
+
# @see Increase::Models::Simulations::EntityUpdateValidationParams
|
|
28
|
+
def update_validation(entity_id, params)
|
|
29
|
+
parsed, options = Increase::Simulations::EntityUpdateValidationParams.dump_request(params)
|
|
28
30
|
@client.request(
|
|
29
31
|
method: :post,
|
|
30
|
-
path: ["simulations/entities/%1$s/
|
|
32
|
+
path: ["simulations/entities/%1$s/update_validation", entity_id],
|
|
31
33
|
body: parsed,
|
|
32
34
|
model: Increase::Entity,
|
|
33
35
|
options: options
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -314,7 +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/
|
|
317
|
+
require_relative "increase/models/simulations/entity_update_validation_params"
|
|
318
318
|
require_relative "increase/models/simulations/export_create_params"
|
|
319
319
|
require_relative "increase/models/simulations/inbound_ach_transfer_create_params"
|
|
320
320
|
require_relative "increase/models/simulations/inbound_check_deposit_adjustment_params"
|
|
@@ -371,7 +371,8 @@ module Increase
|
|
|
371
371
|
sig { params(industry_code: String).void }
|
|
372
372
|
attr_writer :industry_code
|
|
373
373
|
|
|
374
|
-
#
|
|
374
|
+
# A website for the business. Not every program requires a website for submitted
|
|
375
|
+
# Entities.
|
|
375
376
|
sig { returns(T.nilable(String)) }
|
|
376
377
|
attr_reader :website
|
|
377
378
|
|
|
@@ -426,7 +427,8 @@ module Increase
|
|
|
426
427
|
# `Software Publishers`. A full list of classification codes is available
|
|
427
428
|
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
428
429
|
industry_code: nil,
|
|
429
|
-
#
|
|
430
|
+
# A website for the business. Not every program requires a website for submitted
|
|
431
|
+
# Entities.
|
|
430
432
|
website: nil
|
|
431
433
|
)
|
|
432
434
|
end
|
|
@@ -1455,7 +1457,8 @@ module Increase
|
|
|
1455
1457
|
sig { returns(String) }
|
|
1456
1458
|
attr_accessor :tax_identifier
|
|
1457
1459
|
|
|
1458
|
-
#
|
|
1460
|
+
# A website for the government authority. Not every program requires a website for
|
|
1461
|
+
# submitted Entities.
|
|
1459
1462
|
sig { returns(T.nilable(String)) }
|
|
1460
1463
|
attr_reader :website
|
|
1461
1464
|
|
|
@@ -1492,7 +1495,8 @@ module Increase
|
|
|
1492
1495
|
# The Employer Identification Number (EIN) for the government authority. Submit
|
|
1493
1496
|
# nine digits with no dashes or other separators.
|
|
1494
1497
|
tax_identifier:,
|
|
1495
|
-
#
|
|
1498
|
+
# A website for the government authority. Not every program requires a website for
|
|
1499
|
+
# submitted Entities.
|
|
1496
1500
|
website: nil
|
|
1497
1501
|
)
|
|
1498
1502
|
end
|
|
@@ -263,6 +263,14 @@ module Increase
|
|
|
263
263
|
sig { params(name: String).void }
|
|
264
264
|
attr_writer :name
|
|
265
265
|
|
|
266
|
+
# A website for the business. Not every program requires a website for submitted
|
|
267
|
+
# Entities.
|
|
268
|
+
sig { returns(T.nilable(String)) }
|
|
269
|
+
attr_reader :website
|
|
270
|
+
|
|
271
|
+
sig { params(website: String).void }
|
|
272
|
+
attr_writer :website
|
|
273
|
+
|
|
266
274
|
# Details of the corporation entity to update. If you specify this parameter and
|
|
267
275
|
# the entity is not a corporation, the request will fail.
|
|
268
276
|
sig do
|
|
@@ -273,7 +281,8 @@ module Increase
|
|
|
273
281
|
industry_code: String,
|
|
274
282
|
legal_identifier:
|
|
275
283
|
Increase::EntityUpdateParams::Corporation::LegalIdentifier::OrHash,
|
|
276
|
-
name: String
|
|
284
|
+
name: String,
|
|
285
|
+
website: String
|
|
277
286
|
).returns(T.attached_class)
|
|
278
287
|
end
|
|
279
288
|
def self.new(
|
|
@@ -295,7 +304,10 @@ module Increase
|
|
|
295
304
|
# Identification Number (EIN).
|
|
296
305
|
legal_identifier: nil,
|
|
297
306
|
# The legal name of the corporation.
|
|
298
|
-
name: nil
|
|
307
|
+
name: nil,
|
|
308
|
+
# A website for the business. Not every program requires a website for submitted
|
|
309
|
+
# Entities.
|
|
310
|
+
website: nil
|
|
299
311
|
)
|
|
300
312
|
end
|
|
301
313
|
|
|
@@ -308,7 +320,8 @@ module Increase
|
|
|
308
320
|
industry_code: String,
|
|
309
321
|
legal_identifier:
|
|
310
322
|
Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
311
|
-
name: String
|
|
323
|
+
name: String,
|
|
324
|
+
website: String
|
|
312
325
|
}
|
|
313
326
|
)
|
|
314
327
|
end
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Models
|
|
5
5
|
module Simulations
|
|
6
|
-
class
|
|
6
|
+
class EntityUpdateValidationParams < Increase::Internal::Type::BaseModel
|
|
7
7
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Increase::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
OrHash =
|
|
11
11
|
T.type_alias do
|
|
12
12
|
T.any(
|
|
13
|
-
Increase::Simulations::
|
|
13
|
+
Increase::Simulations::EntityUpdateValidationParams,
|
|
14
14
|
Increase::Internal::AnyHash
|
|
15
15
|
)
|
|
16
16
|
end
|
|
@@ -19,41 +19,31 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :entity_id
|
|
21
21
|
|
|
22
|
-
# The validation issues to attach.
|
|
22
|
+
# The validation issues to attach. If no issues are provided, the validation
|
|
23
|
+
# status will be set to `valid`.
|
|
23
24
|
sig do
|
|
24
25
|
returns(
|
|
25
|
-
T::Array[Increase::Simulations::
|
|
26
|
+
T::Array[Increase::Simulations::EntityUpdateValidationParams::Issue]
|
|
26
27
|
)
|
|
27
28
|
end
|
|
28
29
|
attr_accessor :issues
|
|
29
30
|
|
|
30
|
-
# The validation status to set on the Entity.
|
|
31
|
-
sig do
|
|
32
|
-
returns(
|
|
33
|
-
Increase::Simulations::EntityValidationParams::Status::OrSymbol
|
|
34
|
-
)
|
|
35
|
-
end
|
|
36
|
-
attr_accessor :status
|
|
37
|
-
|
|
38
31
|
sig do
|
|
39
32
|
params(
|
|
40
33
|
entity_id: String,
|
|
41
34
|
issues:
|
|
42
35
|
T::Array[
|
|
43
|
-
Increase::Simulations::
|
|
36
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::OrHash
|
|
44
37
|
],
|
|
45
|
-
status:
|
|
46
|
-
Increase::Simulations::EntityValidationParams::Status::OrSymbol,
|
|
47
38
|
request_options: Increase::RequestOptions::OrHash
|
|
48
39
|
).returns(T.attached_class)
|
|
49
40
|
end
|
|
50
41
|
def self.new(
|
|
51
42
|
# The identifier of the Entity whose validation status to update.
|
|
52
43
|
entity_id:,
|
|
53
|
-
# The validation issues to attach.
|
|
44
|
+
# The validation issues to attach. If no issues are provided, the validation
|
|
45
|
+
# status will be set to `valid`.
|
|
54
46
|
issues:,
|
|
55
|
-
# The validation status to set on the Entity.
|
|
56
|
-
status:,
|
|
57
47
|
request_options: {}
|
|
58
48
|
)
|
|
59
49
|
end
|
|
@@ -63,9 +53,9 @@ module Increase
|
|
|
63
53
|
{
|
|
64
54
|
entity_id: String,
|
|
65
55
|
issues:
|
|
66
|
-
T::Array[
|
|
67
|
-
|
|
68
|
-
|
|
56
|
+
T::Array[
|
|
57
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue
|
|
58
|
+
],
|
|
69
59
|
request_options: Increase::RequestOptions
|
|
70
60
|
}
|
|
71
61
|
)
|
|
@@ -77,7 +67,7 @@ module Increase
|
|
|
77
67
|
OrHash =
|
|
78
68
|
T.type_alias do
|
|
79
69
|
T.any(
|
|
80
|
-
Increase::Simulations::
|
|
70
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue,
|
|
81
71
|
Increase::Internal::AnyHash
|
|
82
72
|
)
|
|
83
73
|
end
|
|
@@ -85,7 +75,7 @@ module Increase
|
|
|
85
75
|
# The type of issue.
|
|
86
76
|
sig do
|
|
87
77
|
returns(
|
|
88
|
-
Increase::Simulations::
|
|
78
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::OrSymbol
|
|
89
79
|
)
|
|
90
80
|
end
|
|
91
81
|
attr_accessor :category
|
|
@@ -93,7 +83,7 @@ module Increase
|
|
|
93
83
|
sig do
|
|
94
84
|
params(
|
|
95
85
|
category:
|
|
96
|
-
Increase::Simulations::
|
|
86
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::OrSymbol
|
|
97
87
|
).returns(T.attached_class)
|
|
98
88
|
end
|
|
99
89
|
def self.new(
|
|
@@ -106,7 +96,7 @@ module Increase
|
|
|
106
96
|
override.returns(
|
|
107
97
|
{
|
|
108
98
|
category:
|
|
109
|
-
Increase::Simulations::
|
|
99
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::OrSymbol
|
|
110
100
|
}
|
|
111
101
|
)
|
|
112
102
|
end
|
|
@@ -121,7 +111,7 @@ module Increase
|
|
|
121
111
|
T.type_alias do
|
|
122
112
|
T.all(
|
|
123
113
|
Symbol,
|
|
124
|
-
Increase::Simulations::
|
|
114
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category
|
|
125
115
|
)
|
|
126
116
|
end
|
|
127
117
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -130,34 +120,34 @@ module Increase
|
|
|
130
120
|
ENTITY_TAX_IDENTIFIER =
|
|
131
121
|
T.let(
|
|
132
122
|
:entity_tax_identifier,
|
|
133
|
-
Increase::Simulations::
|
|
123
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
134
124
|
)
|
|
135
125
|
|
|
136
126
|
# 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
127
|
ENTITY_ADDRESS =
|
|
138
128
|
T.let(
|
|
139
129
|
:entity_address,
|
|
140
|
-
Increase::Simulations::
|
|
130
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
141
131
|
)
|
|
142
132
|
|
|
143
133
|
# 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
134
|
BENEFICIAL_OWNER_IDENTITY =
|
|
145
135
|
T.let(
|
|
146
136
|
:beneficial_owner_identity,
|
|
147
|
-
Increase::Simulations::
|
|
137
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
148
138
|
)
|
|
149
139
|
|
|
150
140
|
# 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
141
|
BENEFICIAL_OWNER_ADDRESS =
|
|
152
142
|
T.let(
|
|
153
143
|
:beneficial_owner_address,
|
|
154
|
-
Increase::Simulations::
|
|
144
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
155
145
|
)
|
|
156
146
|
|
|
157
147
|
sig do
|
|
158
148
|
override.returns(
|
|
159
149
|
T::Array[
|
|
160
|
-
Increase::Simulations::
|
|
150
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
161
151
|
]
|
|
162
152
|
)
|
|
163
153
|
end
|
|
@@ -165,51 +155,6 @@ module Increase
|
|
|
165
155
|
end
|
|
166
156
|
end
|
|
167
157
|
end
|
|
168
|
-
|
|
169
|
-
# The validation status to set on the Entity.
|
|
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
158
|
end
|
|
214
159
|
end
|
|
215
160
|
end
|
|
@@ -4,30 +4,28 @@ module Increase
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Simulations
|
|
6
6
|
class Entities
|
|
7
|
-
#
|
|
7
|
+
# Simulate updates to an
|
|
8
8
|
# [Entity's validation](/documentation/api/entities#entity-object.validation). In
|
|
9
9
|
# production, Know Your Customer validations
|
|
10
|
-
# [run automatically](/documentation/entity-validation#entity-validation)
|
|
11
|
-
# developing,
|
|
10
|
+
# [run automatically](/documentation/entity-validation#entity-validation) for
|
|
11
|
+
# eligible programs. While developing, use this API to simulate issues with
|
|
12
|
+
# information submissions.
|
|
12
13
|
sig do
|
|
13
14
|
params(
|
|
14
15
|
entity_id: String,
|
|
15
16
|
issues:
|
|
16
17
|
T::Array[
|
|
17
|
-
Increase::Simulations::
|
|
18
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::OrHash
|
|
18
19
|
],
|
|
19
|
-
status:
|
|
20
|
-
Increase::Simulations::EntityValidationParams::Status::OrSymbol,
|
|
21
20
|
request_options: Increase::RequestOptions::OrHash
|
|
22
21
|
).returns(Increase::Entity)
|
|
23
22
|
end
|
|
24
|
-
def
|
|
23
|
+
def update_validation(
|
|
25
24
|
# The identifier of the Entity whose validation status to update.
|
|
26
25
|
entity_id,
|
|
27
|
-
# The validation issues to attach.
|
|
26
|
+
# The validation issues to attach. If no issues are provided, the validation
|
|
27
|
+
# status will be set to `valid`.
|
|
28
28
|
issues:,
|
|
29
|
-
# The validation status to set on the Entity.
|
|
30
|
-
status:,
|
|
31
29
|
request_options: {}
|
|
32
30
|
)
|
|
33
31
|
end
|
|
@@ -99,7 +99,8 @@ module Increase
|
|
|
99
99
|
incorporation_state: String,
|
|
100
100
|
industry_code: String,
|
|
101
101
|
legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
102
|
-
name: String
|
|
102
|
+
name: String,
|
|
103
|
+
website: String
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
class Corporation < Increase::Internal::Type::BaseModel
|
|
@@ -131,13 +132,18 @@ module Increase
|
|
|
131
132
|
|
|
132
133
|
def name=: (String) -> String
|
|
133
134
|
|
|
135
|
+
attr_reader website: String?
|
|
136
|
+
|
|
137
|
+
def website=: (String) -> String
|
|
138
|
+
|
|
134
139
|
def initialize: (
|
|
135
140
|
?address: Increase::EntityUpdateParams::Corporation::Address,
|
|
136
141
|
?email: String,
|
|
137
142
|
?incorporation_state: String,
|
|
138
143
|
?industry_code: String,
|
|
139
144
|
?legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
140
|
-
?name: String
|
|
145
|
+
?name: String,
|
|
146
|
+
?website: String
|
|
141
147
|
) -> void
|
|
142
148
|
|
|
143
149
|
def to_hash: -> {
|
|
@@ -146,7 +152,8 @@ module Increase
|
|
|
146
152
|
incorporation_state: String,
|
|
147
153
|
industry_code: String,
|
|
148
154
|
legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
149
|
-
name: String
|
|
155
|
+
name: String,
|
|
156
|
+
website: String
|
|
150
157
|
}
|
|
151
158
|
|
|
152
159
|
type address =
|
|
@@ -1,52 +1,47 @@
|
|
|
1
1
|
module Increase
|
|
2
2
|
module Models
|
|
3
3
|
module Simulations
|
|
4
|
-
type
|
|
4
|
+
type entity_update_validation_params =
|
|
5
5
|
{
|
|
6
6
|
entity_id: String,
|
|
7
|
-
issues: ::Array[Increase::Simulations::
|
|
8
|
-
status: Increase::Models::Simulations::EntityValidationParams::status
|
|
7
|
+
issues: ::Array[Increase::Simulations::EntityUpdateValidationParams::Issue]
|
|
9
8
|
}
|
|
10
9
|
& Increase::Internal::Type::request_parameters
|
|
11
10
|
|
|
12
|
-
class
|
|
11
|
+
class EntityUpdateValidationParams < Increase::Internal::Type::BaseModel
|
|
13
12
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
13
|
include Increase::Internal::Type::RequestParameters
|
|
15
14
|
|
|
16
15
|
attr_accessor entity_id: String
|
|
17
16
|
|
|
18
|
-
attr_accessor issues: ::Array[Increase::Simulations::
|
|
19
|
-
|
|
20
|
-
attr_accessor status: Increase::Models::Simulations::EntityValidationParams::status
|
|
17
|
+
attr_accessor issues: ::Array[Increase::Simulations::EntityUpdateValidationParams::Issue]
|
|
21
18
|
|
|
22
19
|
def initialize: (
|
|
23
20
|
entity_id: String,
|
|
24
|
-
issues: ::Array[Increase::Simulations::
|
|
25
|
-
status: Increase::Models::Simulations::EntityValidationParams::status,
|
|
21
|
+
issues: ::Array[Increase::Simulations::EntityUpdateValidationParams::Issue],
|
|
26
22
|
?request_options: Increase::request_opts
|
|
27
23
|
) -> void
|
|
28
24
|
|
|
29
25
|
def to_hash: -> {
|
|
30
26
|
entity_id: String,
|
|
31
|
-
issues: ::Array[Increase::Simulations::
|
|
32
|
-
status: Increase::Models::Simulations::EntityValidationParams::status,
|
|
27
|
+
issues: ::Array[Increase::Simulations::EntityUpdateValidationParams::Issue],
|
|
33
28
|
request_options: Increase::RequestOptions
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
type issue =
|
|
37
32
|
{
|
|
38
|
-
category: Increase::Models::Simulations::
|
|
33
|
+
category: Increase::Models::Simulations::EntityUpdateValidationParams::Issue::category
|
|
39
34
|
}
|
|
40
35
|
|
|
41
36
|
class Issue < Increase::Internal::Type::BaseModel
|
|
42
|
-
attr_accessor category: Increase::Models::Simulations::
|
|
37
|
+
attr_accessor category: Increase::Models::Simulations::EntityUpdateValidationParams::Issue::category
|
|
43
38
|
|
|
44
39
|
def initialize: (
|
|
45
|
-
category: Increase::Models::Simulations::
|
|
40
|
+
category: Increase::Models::Simulations::EntityUpdateValidationParams::Issue::category
|
|
46
41
|
) -> void
|
|
47
42
|
|
|
48
43
|
def to_hash: -> {
|
|
49
|
-
category: Increase::Models::Simulations::
|
|
44
|
+
category: Increase::Models::Simulations::EntityUpdateValidationParams::Issue::category
|
|
50
45
|
}
|
|
51
46
|
|
|
52
47
|
type category =
|
|
@@ -70,26 +65,9 @@ module Increase
|
|
|
70
65
|
# 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
66
|
BENEFICIAL_OWNER_ADDRESS: :beneficial_owner_address
|
|
72
67
|
|
|
73
|
-
def self?.values: -> ::Array[Increase::Models::Simulations::
|
|
68
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::EntityUpdateValidationParams::Issue::category]
|
|
74
69
|
end
|
|
75
70
|
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
71
|
end
|
|
94
72
|
end
|
|
95
73
|
end
|
|
@@ -2,10 +2,9 @@ module Increase
|
|
|
2
2
|
module Resources
|
|
3
3
|
class Simulations
|
|
4
4
|
class Entities
|
|
5
|
-
def
|
|
5
|
+
def update_validation: (
|
|
6
6
|
String entity_id,
|
|
7
|
-
issues: ::Array[Increase::Simulations::
|
|
8
|
-
status: Increase::Models::Simulations::EntityValidationParams::status,
|
|
7
|
+
issues: ::Array[Increase::Simulations::EntityUpdateValidationParams::Issue],
|
|
9
8
|
?request_options: Increase::request_opts
|
|
10
9
|
) -> Increase::Entity
|
|
11
10
|
|
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.320.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-05-
|
|
11
|
+
date: 2026-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -344,7 +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/
|
|
347
|
+
- lib/increase/models/simulations/entity_update_validation_params.rb
|
|
348
348
|
- lib/increase/models/simulations/export_create_params.rb
|
|
349
349
|
- lib/increase/models/simulations/inbound_ach_transfer_create_params.rb
|
|
350
350
|
- lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb
|
|
@@ -761,7 +761,7 @@ files:
|
|
|
761
761
|
- rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi
|
|
762
762
|
- rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi
|
|
763
763
|
- rbi/increase/models/simulations/entity_onboarding_session_submit_params.rbi
|
|
764
|
-
- rbi/increase/models/simulations/
|
|
764
|
+
- rbi/increase/models/simulations/entity_update_validation_params.rbi
|
|
765
765
|
- rbi/increase/models/simulations/export_create_params.rbi
|
|
766
766
|
- rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi
|
|
767
767
|
- rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi
|
|
@@ -1177,7 +1177,7 @@ files:
|
|
|
1177
1177
|
- sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs
|
|
1178
1178
|
- sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs
|
|
1179
1179
|
- sig/increase/models/simulations/entity_onboarding_session_submit_params.rbs
|
|
1180
|
-
- sig/increase/models/simulations/
|
|
1180
|
+
- sig/increase/models/simulations/entity_update_validation_params.rbs
|
|
1181
1181
|
- sig/increase/models/simulations/export_create_params.rbs
|
|
1182
1182
|
- sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs
|
|
1183
1183
|
- sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs
|