increase 1.313.0 → 1.315.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/models/simulations/entity_validation_params.rb +91 -0
- data/lib/increase/resources/simulations/entities.rb +46 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/simulations/entity_validation_params.rbi +216 -0
- data/rbi/increase/resources/simulations/entities.rbi +42 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/models/simulations/entity_validation_params.rbs +96 -0
- data/sig/increase/resources/simulations/entities.rbs +16 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c03adcb8dbf4753eaf33997e2862fd0f489fbeb001d2d70de29378324219bd09
|
|
4
|
+
data.tar.gz: 950a751ec59c876e963fdcc46741327b4827ac0bcc69b44865da8d4c307acfe3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 672091dd5ec8af809c3d75a89a4b1913ccdee6ef41f725ce3ab1ac53908927b5e82d05b9c0824082c0dea9b28f87039719037e3473e76399305540b09b49b0a8
|
|
7
|
+
data.tar.gz: acdba94d7b038db32c284b2cb964636f2a1f0b0a99160183070d16c98ae4cfe08c92d971f55261aff9724b64e7360eeb7978e1a0bd343397be4ccf75fec660e8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.315.0 (2026-05-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.314.0...v1.315.0](https://github.com/Increase/increase-ruby/compare/v1.314.0...v1.315.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ac72e13](https://github.com/Increase/increase-ruby/commit/ac72e13ab8e75c6d4a114eb5c0561a3be7f48b6c))
|
|
10
|
+
|
|
11
|
+
## 1.314.0 (2026-05-01)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.313.0...v1.314.0](https://github.com/Increase/increase-ruby/compare/v1.313.0...v1.314.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([df045c6](https://github.com/Increase/increase-ruby/commit/df045c6966ec939d85b180f7de21b712bf52fc4f))
|
|
18
|
+
* **api:** api update ([bb71bdb](https://github.com/Increase/increase-ruby/commit/bb71bdb0c9b4fd386aff1f14a91990dbf0f79790))
|
|
19
|
+
|
|
3
20
|
## 1.313.0 (2026-04-30)
|
|
4
21
|
|
|
5
22
|
Full Changelog: [v1.312.0...v1.313.0](https://github.com/Increase/increase-ruby/compare/v1.312.0...v1.313.0)
|
data/README.md
CHANGED
|
@@ -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 whose validation status to update.
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :entity_id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute issues
|
|
18
|
+
# The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
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 validation status to set on the Entity.
|
|
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 whose validation status to update.
|
|
32
|
+
#
|
|
33
|
+
# @param issues [Array<Increase::Models::Simulations::EntityValidationParams::Issue>] The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
34
|
+
#
|
|
35
|
+
# @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The validation status to set on the Entity.
|
|
36
|
+
#
|
|
37
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
38
|
+
|
|
39
|
+
class Issue < Increase::Internal::Type::BaseModel
|
|
40
|
+
# @!attribute category
|
|
41
|
+
# The type of 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 type of issue.
|
|
48
|
+
|
|
49
|
+
# The type of 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 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
|
+
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 whose validation status to update.
|
|
16
|
+
#
|
|
17
|
+
# @param issues [Array<Increase::Models::Simulations::EntityValidationParams::Issue>] The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
18
|
+
#
|
|
19
|
+
# @param status [Symbol, Increase::Models::Simulations::EntityValidationParams::Status] The validation status to set on the Entity.
|
|
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)
|
data/lib/increase/version.rb
CHANGED
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"
|
|
@@ -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 whose validation status to update.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :entity_id
|
|
21
|
+
|
|
22
|
+
# The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
23
|
+
sig do
|
|
24
|
+
returns(
|
|
25
|
+
T::Array[Increase::Simulations::EntityValidationParams::Issue]
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
attr_accessor :issues
|
|
29
|
+
|
|
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
|
+
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 whose validation status to update.
|
|
52
|
+
entity_id:,
|
|
53
|
+
# The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
54
|
+
issues:,
|
|
55
|
+
# The validation status to set on the Entity.
|
|
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 type of 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 type of 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 type of 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 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
|
+
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 whose validation status to update.
|
|
26
|
+
entity_id,
|
|
27
|
+
# The validation issues to attach. Only allowed when `status` is `invalid`.
|
|
28
|
+
issues:,
|
|
29
|
+
# The validation status to set on the Entity.
|
|
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
|
|
@@ -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.
|
|
4
|
+
version: 1.315.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-
|
|
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
|