increase 1.245.0 → 1.247.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/beneficial_owner_archive_params.rb +22 -0
- data/lib/increase/models.rb +2 -4
- data/lib/increase/resources/beneficial_owners.rb +20 -0
- data/lib/increase/resources/entities.rb +0 -56
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -2
- data/rbi/increase/models/beneficial_owner_archive_params.rbi +46 -0
- data/rbi/increase/models.rbi +2 -6
- data/rbi/increase/resources/beneficial_owners.rbi +14 -0
- data/rbi/increase/resources/entities.rbi +0 -43
- data/sig/increase/models/beneficial_owner_archive_params.rbs +24 -0
- data/sig/increase/models.rbs +2 -4
- data/sig/increase/resources/beneficial_owners.rbs +5 -0
- data/sig/increase/resources/entities.rbs +0 -13
- metadata +4 -7
- data/lib/increase/models/entity_archive_beneficial_owner_params.rb +0 -35
- data/lib/increase/models/entity_update_beneficial_owner_address_params.rb +0 -103
- data/rbi/increase/models/entity_archive_beneficial_owner_params.rbi +0 -58
- data/rbi/increase/models/entity_update_beneficial_owner_address_params.rbi +0 -168
- data/sig/increase/models/entity_archive_beneficial_owner_params.rbs +0 -28
- data/sig/increase/models/entity_update_beneficial_owner_address_params.rbs +0 -84
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: baa127840357bc60f492d9f55706bb8d4b417d7e26c49bc31e95dcbfc47184c4
|
|
4
|
+
data.tar.gz: beecc4407fa914ba1cdc36f5b125dae279a08bac834d4fe6d9e8f668722ab3a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95449c2a60e873c7c16efdc2664a702ffbd1a5a8c1dcda466c284915633054c5d24223757bcab384c27752f2899e5ce304c36783606af2f60cee880bfd9f1fc4
|
|
7
|
+
data.tar.gz: ccc76863bc2219aee7e0c876a181244eec76d8a2c13170742e616c705cfeceee0adceb2dbbcb9a0577800fb93972e6e1f243b96f229820d7493bade4dd1decf1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.247.0 (2026-03-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.246.0...v1.247.0](https://github.com/Increase/increase-ruby/compare/v1.246.0...v1.247.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([eb21be2](https://github.com/Increase/increase-ruby/commit/eb21be29f956c26f627e95e5b6b3b6d38c30b946))
|
|
10
|
+
|
|
11
|
+
## 1.246.0 (2026-03-12)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.245.0...v1.246.0](https://github.com/Increase/increase-ruby/compare/v1.245.0...v1.246.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([1d13412](https://github.com/Increase/increase-ruby/commit/1d13412b23dcc2d2a95113fc5f8f40b04b6bd323))
|
|
18
|
+
|
|
3
19
|
## 1.245.0 (2026-03-12)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.244.0...v1.245.0](https://github.com/Increase/increase-ruby/compare/v1.244.0...v1.245.0)
|
data/README.md
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::BeneficialOwners#archive
|
|
6
|
+
class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute entity_beneficial_owner_id
|
|
11
|
+
# The identifier of the Beneficial Owner to archive.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :entity_beneficial_owner_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(entity_beneficial_owner_id:, request_options: {})
|
|
17
|
+
# @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to archive.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
data/lib/increase/models.rb
CHANGED
|
@@ -103,6 +103,8 @@ module Increase
|
|
|
103
103
|
|
|
104
104
|
BalanceLookup = Increase::Models::BalanceLookup
|
|
105
105
|
|
|
106
|
+
BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
|
|
107
|
+
|
|
106
108
|
BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
|
|
107
109
|
|
|
108
110
|
BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
|
|
@@ -257,8 +259,6 @@ module Increase
|
|
|
257
259
|
|
|
258
260
|
Entity = Increase::Models::Entity
|
|
259
261
|
|
|
260
|
-
EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
|
|
261
|
-
|
|
262
262
|
EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
263
263
|
|
|
264
264
|
EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
|
|
@@ -273,8 +273,6 @@ module Increase
|
|
|
273
273
|
|
|
274
274
|
EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
275
275
|
|
|
276
|
-
EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
277
|
-
|
|
278
276
|
EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
279
277
|
|
|
280
278
|
Event = Increase::Models::Event
|
|
@@ -89,6 +89,26 @@ module Increase
|
|
|
89
89
|
)
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
# Archive a Beneficial Owner
|
|
93
|
+
#
|
|
94
|
+
# @overload archive(entity_beneficial_owner_id, request_options: {})
|
|
95
|
+
#
|
|
96
|
+
# @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to archive.
|
|
97
|
+
#
|
|
98
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
99
|
+
#
|
|
100
|
+
# @return [Increase::Models::EntityBeneficialOwner]
|
|
101
|
+
#
|
|
102
|
+
# @see Increase::Models::BeneficialOwnerArchiveParams
|
|
103
|
+
def archive(entity_beneficial_owner_id, params = {})
|
|
104
|
+
@client.request(
|
|
105
|
+
method: :post,
|
|
106
|
+
path: ["entity_beneficial_owners/%1$s/archive", entity_beneficial_owner_id],
|
|
107
|
+
model: Increase::EntityBeneficialOwner,
|
|
108
|
+
options: params[:request_options]
|
|
109
|
+
)
|
|
110
|
+
end
|
|
111
|
+
|
|
92
112
|
# @api private
|
|
93
113
|
#
|
|
94
114
|
# @param client [Increase::Client]
|
|
@@ -165,33 +165,6 @@ module Increase
|
|
|
165
165
|
)
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
-
# Some parameter documentations has been truncated, see
|
|
169
|
-
# {Increase::Models::EntityArchiveBeneficialOwnerParams} for more details.
|
|
170
|
-
#
|
|
171
|
-
# Archive a beneficial owner for a corporate Entity
|
|
172
|
-
#
|
|
173
|
-
# @overload archive_beneficial_owner(entity_id, beneficial_owner_id:, request_options: {})
|
|
174
|
-
#
|
|
175
|
-
# @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner that is being
|
|
176
|
-
#
|
|
177
|
-
# @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
|
|
178
|
-
#
|
|
179
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
180
|
-
#
|
|
181
|
-
# @return [Increase::Models::Entity]
|
|
182
|
-
#
|
|
183
|
-
# @see Increase::Models::EntityArchiveBeneficialOwnerParams
|
|
184
|
-
def archive_beneficial_owner(entity_id, params)
|
|
185
|
-
parsed, options = Increase::EntityArchiveBeneficialOwnerParams.dump_request(params)
|
|
186
|
-
@client.request(
|
|
187
|
-
method: :post,
|
|
188
|
-
path: ["entities/%1$s/archive_beneficial_owner", entity_id],
|
|
189
|
-
body: parsed,
|
|
190
|
-
model: Increase::Entity,
|
|
191
|
-
options: options
|
|
192
|
-
)
|
|
193
|
-
end
|
|
194
|
-
|
|
195
168
|
# Some parameter documentations has been truncated, see
|
|
196
169
|
# {Increase::Models::EntityCreateBeneficialOwnerParams} for more details.
|
|
197
170
|
#
|
|
@@ -219,35 +192,6 @@ module Increase
|
|
|
219
192
|
)
|
|
220
193
|
end
|
|
221
194
|
|
|
222
|
-
# Some parameter documentations has been truncated, see
|
|
223
|
-
# {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details.
|
|
224
|
-
#
|
|
225
|
-
# Update the address for a beneficial owner belonging to a corporate Entity
|
|
226
|
-
#
|
|
227
|
-
# @overload update_beneficial_owner_address(entity_id, address:, beneficial_owner_id:, request_options: {})
|
|
228
|
-
#
|
|
229
|
-
# @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner whose address
|
|
230
|
-
#
|
|
231
|
-
# @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
|
|
232
|
-
#
|
|
233
|
-
# @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
|
|
234
|
-
#
|
|
235
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
236
|
-
#
|
|
237
|
-
# @return [Increase::Models::Entity]
|
|
238
|
-
#
|
|
239
|
-
# @see Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
240
|
-
def update_beneficial_owner_address(entity_id, params)
|
|
241
|
-
parsed, options = Increase::EntityUpdateBeneficialOwnerAddressParams.dump_request(params)
|
|
242
|
-
@client.request(
|
|
243
|
-
method: :post,
|
|
244
|
-
path: ["entities/%1$s/update_beneficial_owner_address", entity_id],
|
|
245
|
-
body: parsed,
|
|
246
|
-
model: Increase::Entity,
|
|
247
|
-
options: options
|
|
248
|
-
)
|
|
249
|
-
end
|
|
250
|
-
|
|
251
195
|
# @api private
|
|
252
196
|
#
|
|
253
197
|
# @param client [Increase::Client]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -86,6 +86,7 @@ require_relative "increase/models/ach_transfer_create_params"
|
|
|
86
86
|
require_relative "increase/models/ach_transfer_list_params"
|
|
87
87
|
require_relative "increase/models/ach_transfer_retrieve_params"
|
|
88
88
|
require_relative "increase/models/balance_lookup"
|
|
89
|
+
require_relative "increase/models/beneficial_owner_archive_params"
|
|
89
90
|
require_relative "increase/models/beneficial_owner_list_params"
|
|
90
91
|
require_relative "increase/models/beneficial_owner_retrieve_params"
|
|
91
92
|
require_relative "increase/models/beneficial_owner_update_params"
|
|
@@ -163,7 +164,6 @@ require_relative "increase/models/digital_wallet_token"
|
|
|
163
164
|
require_relative "increase/models/digital_wallet_token_list_params"
|
|
164
165
|
require_relative "increase/models/digital_wallet_token_retrieve_params"
|
|
165
166
|
require_relative "increase/models/entity"
|
|
166
|
-
require_relative "increase/models/entity_archive_beneficial_owner_params"
|
|
167
167
|
require_relative "increase/models/entity_archive_params"
|
|
168
168
|
require_relative "increase/models/entity_beneficial_owner"
|
|
169
169
|
require_relative "increase/models/entity_create_beneficial_owner_params"
|
|
@@ -171,7 +171,6 @@ require_relative "increase/models/entity_create_params"
|
|
|
171
171
|
require_relative "increase/models/entity_list_params"
|
|
172
172
|
require_relative "increase/models/entity_retrieve_params"
|
|
173
173
|
require_relative "increase/models/entity_supplemental_document"
|
|
174
|
-
require_relative "increase/models/entity_update_beneficial_owner_address_params"
|
|
175
174
|
require_relative "increase/models/entity_update_params"
|
|
176
175
|
require_relative "increase/models/event"
|
|
177
176
|
require_relative "increase/models/event_list_params"
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::BeneficialOwnerArchiveParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Beneficial Owner to archive.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :entity_beneficial_owner_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
entity_beneficial_owner_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Beneficial Owner to archive.
|
|
29
|
+
entity_beneficial_owner_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{
|
|
37
|
+
entity_beneficial_owner_id: String,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
end
|
|
42
|
+
def to_hash
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -69,6 +69,8 @@ module Increase
|
|
|
69
69
|
|
|
70
70
|
BalanceLookup = Increase::Models::BalanceLookup
|
|
71
71
|
|
|
72
|
+
BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
|
|
73
|
+
|
|
72
74
|
BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
|
|
73
75
|
|
|
74
76
|
BeneficialOwnerRetrieveParams =
|
|
@@ -245,9 +247,6 @@ module Increase
|
|
|
245
247
|
|
|
246
248
|
Entity = Increase::Models::Entity
|
|
247
249
|
|
|
248
|
-
EntityArchiveBeneficialOwnerParams =
|
|
249
|
-
Increase::Models::EntityArchiveBeneficialOwnerParams
|
|
250
|
-
|
|
251
250
|
EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
252
251
|
|
|
253
252
|
EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
|
|
@@ -263,9 +262,6 @@ module Increase
|
|
|
263
262
|
|
|
264
263
|
EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
265
264
|
|
|
266
|
-
EntityUpdateBeneficialOwnerAddressParams =
|
|
267
|
-
Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
268
|
-
|
|
269
265
|
EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
270
266
|
|
|
271
267
|
Event = Increase::Models::Event
|
|
@@ -76,6 +76,20 @@ module Increase
|
|
|
76
76
|
)
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
# Archive a Beneficial Owner
|
|
80
|
+
sig do
|
|
81
|
+
params(
|
|
82
|
+
entity_beneficial_owner_id: String,
|
|
83
|
+
request_options: Increase::RequestOptions::OrHash
|
|
84
|
+
).returns(Increase::EntityBeneficialOwner)
|
|
85
|
+
end
|
|
86
|
+
def archive(
|
|
87
|
+
# The identifier of the Beneficial Owner to archive.
|
|
88
|
+
entity_beneficial_owner_id,
|
|
89
|
+
request_options: {}
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
|
|
79
93
|
# @api private
|
|
80
94
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
81
95
|
def self.new(client:)
|
|
@@ -167,25 +167,6 @@ module Increase
|
|
|
167
167
|
)
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
# Archive a beneficial owner for a corporate Entity
|
|
171
|
-
sig do
|
|
172
|
-
params(
|
|
173
|
-
entity_id: String,
|
|
174
|
-
beneficial_owner_id: String,
|
|
175
|
-
request_options: Increase::RequestOptions::OrHash
|
|
176
|
-
).returns(Increase::Entity)
|
|
177
|
-
end
|
|
178
|
-
def archive_beneficial_owner(
|
|
179
|
-
# The identifier of the Entity associated with the Beneficial Owner that is being
|
|
180
|
-
# archived.
|
|
181
|
-
entity_id,
|
|
182
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
183
|
-
# corporation.
|
|
184
|
-
beneficial_owner_id:,
|
|
185
|
-
request_options: {}
|
|
186
|
-
)
|
|
187
|
-
end
|
|
188
|
-
|
|
189
170
|
# Create a beneficial owner for a corporate Entity
|
|
190
171
|
sig do
|
|
191
172
|
params(
|
|
@@ -205,30 +186,6 @@ module Increase
|
|
|
205
186
|
)
|
|
206
187
|
end
|
|
207
188
|
|
|
208
|
-
# Update the address for a beneficial owner belonging to a corporate Entity
|
|
209
|
-
sig do
|
|
210
|
-
params(
|
|
211
|
-
entity_id: String,
|
|
212
|
-
address:
|
|
213
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash,
|
|
214
|
-
beneficial_owner_id: String,
|
|
215
|
-
request_options: Increase::RequestOptions::OrHash
|
|
216
|
-
).returns(Increase::Entity)
|
|
217
|
-
end
|
|
218
|
-
def update_beneficial_owner_address(
|
|
219
|
-
# The identifier of the Entity associated with the Beneficial Owner whose address
|
|
220
|
-
# is being updated.
|
|
221
|
-
entity_id,
|
|
222
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
223
|
-
# PMB's are disallowed.
|
|
224
|
-
address:,
|
|
225
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
226
|
-
# corporation.
|
|
227
|
-
beneficial_owner_id:,
|
|
228
|
-
request_options: {}
|
|
229
|
-
)
|
|
230
|
-
end
|
|
231
|
-
|
|
232
189
|
# @api private
|
|
233
190
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
234
191
|
def self.new(client:)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type beneficial_owner_archive_params =
|
|
4
|
+
{ entity_beneficial_owner_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor entity_beneficial_owner_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
entity_beneficial_owner_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
entity_beneficial_owner_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
data/sig/increase/models.rbs
CHANGED
|
@@ -63,6 +63,8 @@ module Increase
|
|
|
63
63
|
|
|
64
64
|
class BalanceLookup = Increase::Models::BalanceLookup
|
|
65
65
|
|
|
66
|
+
class BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
|
|
67
|
+
|
|
66
68
|
class BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
|
|
67
69
|
|
|
68
70
|
class BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
|
|
@@ -217,8 +219,6 @@ module Increase
|
|
|
217
219
|
|
|
218
220
|
class Entity = Increase::Models::Entity
|
|
219
221
|
|
|
220
|
-
class EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
|
|
221
|
-
|
|
222
222
|
class EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
223
223
|
|
|
224
224
|
class EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
|
|
@@ -233,8 +233,6 @@ module Increase
|
|
|
233
233
|
|
|
234
234
|
class EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
235
235
|
|
|
236
|
-
class EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
237
|
-
|
|
238
236
|
class EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
239
237
|
|
|
240
238
|
class Event = Increase::Models::Event
|
|
@@ -23,6 +23,11 @@ module Increase
|
|
|
23
23
|
?request_options: Increase::request_opts
|
|
24
24
|
) -> Increase::Internal::Page[Increase::EntityBeneficialOwner]
|
|
25
25
|
|
|
26
|
+
def archive: (
|
|
27
|
+
String entity_beneficial_owner_id,
|
|
28
|
+
?request_options: Increase::request_opts
|
|
29
|
+
) -> Increase::EntityBeneficialOwner
|
|
30
|
+
|
|
26
31
|
def initialize: (client: Increase::Client) -> void
|
|
27
32
|
end
|
|
28
33
|
end
|
|
@@ -47,25 +47,12 @@ module Increase
|
|
|
47
47
|
?request_options: Increase::request_opts
|
|
48
48
|
) -> Increase::Entity
|
|
49
49
|
|
|
50
|
-
def archive_beneficial_owner: (
|
|
51
|
-
String entity_id,
|
|
52
|
-
beneficial_owner_id: String,
|
|
53
|
-
?request_options: Increase::request_opts
|
|
54
|
-
) -> Increase::Entity
|
|
55
|
-
|
|
56
50
|
def create_beneficial_owner: (
|
|
57
51
|
String entity_id,
|
|
58
52
|
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
|
|
59
53
|
?request_options: Increase::request_opts
|
|
60
54
|
) -> Increase::Entity
|
|
61
55
|
|
|
62
|
-
def update_beneficial_owner_address: (
|
|
63
|
-
String entity_id,
|
|
64
|
-
address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
65
|
-
beneficial_owner_id: String,
|
|
66
|
-
?request_options: Increase::request_opts
|
|
67
|
-
) -> Increase::Entity
|
|
68
|
-
|
|
69
56
|
def initialize: (client: Increase::Client) -> void
|
|
70
57
|
end
|
|
71
58
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.247.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
@@ -116,6 +116,7 @@ files:
|
|
|
116
116
|
- lib/increase/models/ach_transfer_list_params.rb
|
|
117
117
|
- lib/increase/models/ach_transfer_retrieve_params.rb
|
|
118
118
|
- lib/increase/models/balance_lookup.rb
|
|
119
|
+
- lib/increase/models/beneficial_owner_archive_params.rb
|
|
119
120
|
- lib/increase/models/beneficial_owner_list_params.rb
|
|
120
121
|
- lib/increase/models/beneficial_owner_retrieve_params.rb
|
|
121
122
|
- lib/increase/models/beneficial_owner_update_params.rb
|
|
@@ -193,7 +194,6 @@ files:
|
|
|
193
194
|
- lib/increase/models/digital_wallet_token_list_params.rb
|
|
194
195
|
- lib/increase/models/digital_wallet_token_retrieve_params.rb
|
|
195
196
|
- lib/increase/models/entity.rb
|
|
196
|
-
- lib/increase/models/entity_archive_beneficial_owner_params.rb
|
|
197
197
|
- lib/increase/models/entity_archive_params.rb
|
|
198
198
|
- lib/increase/models/entity_beneficial_owner.rb
|
|
199
199
|
- lib/increase/models/entity_create_beneficial_owner_params.rb
|
|
@@ -201,7 +201,6 @@ files:
|
|
|
201
201
|
- lib/increase/models/entity_list_params.rb
|
|
202
202
|
- lib/increase/models/entity_retrieve_params.rb
|
|
203
203
|
- lib/increase/models/entity_supplemental_document.rb
|
|
204
|
-
- lib/increase/models/entity_update_beneficial_owner_address_params.rb
|
|
205
204
|
- lib/increase/models/entity_update_params.rb
|
|
206
205
|
- lib/increase/models/event.rb
|
|
207
206
|
- lib/increase/models/event_list_params.rb
|
|
@@ -532,6 +531,7 @@ files:
|
|
|
532
531
|
- rbi/increase/models/ach_transfer_list_params.rbi
|
|
533
532
|
- rbi/increase/models/ach_transfer_retrieve_params.rbi
|
|
534
533
|
- rbi/increase/models/balance_lookup.rbi
|
|
534
|
+
- rbi/increase/models/beneficial_owner_archive_params.rbi
|
|
535
535
|
- rbi/increase/models/beneficial_owner_list_params.rbi
|
|
536
536
|
- rbi/increase/models/beneficial_owner_retrieve_params.rbi
|
|
537
537
|
- rbi/increase/models/beneficial_owner_update_params.rbi
|
|
@@ -609,7 +609,6 @@ files:
|
|
|
609
609
|
- rbi/increase/models/digital_wallet_token_list_params.rbi
|
|
610
610
|
- rbi/increase/models/digital_wallet_token_retrieve_params.rbi
|
|
611
611
|
- rbi/increase/models/entity.rbi
|
|
612
|
-
- rbi/increase/models/entity_archive_beneficial_owner_params.rbi
|
|
613
612
|
- rbi/increase/models/entity_archive_params.rbi
|
|
614
613
|
- rbi/increase/models/entity_beneficial_owner.rbi
|
|
615
614
|
- rbi/increase/models/entity_create_beneficial_owner_params.rbi
|
|
@@ -617,7 +616,6 @@ files:
|
|
|
617
616
|
- rbi/increase/models/entity_list_params.rbi
|
|
618
617
|
- rbi/increase/models/entity_retrieve_params.rbi
|
|
619
618
|
- rbi/increase/models/entity_supplemental_document.rbi
|
|
620
|
-
- rbi/increase/models/entity_update_beneficial_owner_address_params.rbi
|
|
621
619
|
- rbi/increase/models/entity_update_params.rbi
|
|
622
620
|
- rbi/increase/models/event.rbi
|
|
623
621
|
- rbi/increase/models/event_list_params.rbi
|
|
@@ -947,6 +945,7 @@ files:
|
|
|
947
945
|
- sig/increase/models/ach_transfer_list_params.rbs
|
|
948
946
|
- sig/increase/models/ach_transfer_retrieve_params.rbs
|
|
949
947
|
- sig/increase/models/balance_lookup.rbs
|
|
948
|
+
- sig/increase/models/beneficial_owner_archive_params.rbs
|
|
950
949
|
- sig/increase/models/beneficial_owner_list_params.rbs
|
|
951
950
|
- sig/increase/models/beneficial_owner_retrieve_params.rbs
|
|
952
951
|
- sig/increase/models/beneficial_owner_update_params.rbs
|
|
@@ -1024,7 +1023,6 @@ files:
|
|
|
1024
1023
|
- sig/increase/models/digital_wallet_token_list_params.rbs
|
|
1025
1024
|
- sig/increase/models/digital_wallet_token_retrieve_params.rbs
|
|
1026
1025
|
- sig/increase/models/entity.rbs
|
|
1027
|
-
- sig/increase/models/entity_archive_beneficial_owner_params.rbs
|
|
1028
1026
|
- sig/increase/models/entity_archive_params.rbs
|
|
1029
1027
|
- sig/increase/models/entity_beneficial_owner.rbs
|
|
1030
1028
|
- sig/increase/models/entity_create_beneficial_owner_params.rbs
|
|
@@ -1032,7 +1030,6 @@ files:
|
|
|
1032
1030
|
- sig/increase/models/entity_list_params.rbs
|
|
1033
1031
|
- sig/increase/models/entity_retrieve_params.rbs
|
|
1034
1032
|
- sig/increase/models/entity_supplemental_document.rbs
|
|
1035
|
-
- sig/increase/models/entity_update_beneficial_owner_address_params.rbs
|
|
1036
1033
|
- sig/increase/models/entity_update_params.rbs
|
|
1037
1034
|
- sig/increase/models/event.rbs
|
|
1038
1035
|
- sig/increase/models/event_list_params.rbs
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
# @see Increase::Resources::Entities#archive_beneficial_owner
|
|
6
|
-
class EntityArchiveBeneficialOwnerParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute entity_id
|
|
11
|
-
# The identifier of the Entity associated with the Beneficial Owner that is being
|
|
12
|
-
# archived.
|
|
13
|
-
#
|
|
14
|
-
# @return [String]
|
|
15
|
-
required :entity_id, String
|
|
16
|
-
|
|
17
|
-
# @!attribute beneficial_owner_id
|
|
18
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
19
|
-
# corporation.
|
|
20
|
-
#
|
|
21
|
-
# @return [String]
|
|
22
|
-
required :beneficial_owner_id, String
|
|
23
|
-
|
|
24
|
-
# @!method initialize(entity_id:, beneficial_owner_id:, request_options: {})
|
|
25
|
-
# Some parameter documentations has been truncated, see
|
|
26
|
-
# {Increase::Models::EntityArchiveBeneficialOwnerParams} for more details.
|
|
27
|
-
#
|
|
28
|
-
# @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner that is being
|
|
29
|
-
#
|
|
30
|
-
# @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
|
|
31
|
-
#
|
|
32
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
# @see Increase::Resources::Entities#update_beneficial_owner_address
|
|
6
|
-
class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute entity_id
|
|
11
|
-
# The identifier of the Entity associated with the Beneficial Owner whose address
|
|
12
|
-
# is being updated.
|
|
13
|
-
#
|
|
14
|
-
# @return [String]
|
|
15
|
-
required :entity_id, String
|
|
16
|
-
|
|
17
|
-
# @!attribute address
|
|
18
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
19
|
-
# PMB's are disallowed.
|
|
20
|
-
#
|
|
21
|
-
# @return [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address]
|
|
22
|
-
required :address, -> { Increase::EntityUpdateBeneficialOwnerAddressParams::Address }
|
|
23
|
-
|
|
24
|
-
# @!attribute beneficial_owner_id
|
|
25
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
26
|
-
# corporation.
|
|
27
|
-
#
|
|
28
|
-
# @return [String]
|
|
29
|
-
required :beneficial_owner_id, String
|
|
30
|
-
|
|
31
|
-
# @!method initialize(entity_id:, address:, beneficial_owner_id:, request_options: {})
|
|
32
|
-
# Some parameter documentations has been truncated, see
|
|
33
|
-
# {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details.
|
|
34
|
-
#
|
|
35
|
-
# @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner whose address
|
|
36
|
-
#
|
|
37
|
-
# @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
|
|
38
|
-
#
|
|
39
|
-
# @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
|
|
40
|
-
#
|
|
41
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
42
|
-
|
|
43
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
44
|
-
# @!attribute city
|
|
45
|
-
# The city, district, town, or village of the address.
|
|
46
|
-
#
|
|
47
|
-
# @return [String]
|
|
48
|
-
required :city, String
|
|
49
|
-
|
|
50
|
-
# @!attribute country
|
|
51
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
52
|
-
#
|
|
53
|
-
# @return [String]
|
|
54
|
-
required :country, String
|
|
55
|
-
|
|
56
|
-
# @!attribute line1
|
|
57
|
-
# The first line of the address. This is usually the street number and street.
|
|
58
|
-
#
|
|
59
|
-
# @return [String]
|
|
60
|
-
required :line1, String
|
|
61
|
-
|
|
62
|
-
# @!attribute line2
|
|
63
|
-
# The second line of the address. This might be the floor or room number.
|
|
64
|
-
#
|
|
65
|
-
# @return [String, nil]
|
|
66
|
-
optional :line2, String
|
|
67
|
-
|
|
68
|
-
# @!attribute state
|
|
69
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
70
|
-
# state, province, or region of the address. Required in certain countries.
|
|
71
|
-
#
|
|
72
|
-
# @return [String, nil]
|
|
73
|
-
optional :state, String
|
|
74
|
-
|
|
75
|
-
# @!attribute zip
|
|
76
|
-
# The ZIP or postal code of the address. Required in certain countries.
|
|
77
|
-
#
|
|
78
|
-
# @return [String, nil]
|
|
79
|
-
optional :zip, String
|
|
80
|
-
|
|
81
|
-
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
82
|
-
# Some parameter documentations has been truncated, see
|
|
83
|
-
# {Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address} for more
|
|
84
|
-
# details.
|
|
85
|
-
#
|
|
86
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
87
|
-
# PMB's are disallowed.
|
|
88
|
-
#
|
|
89
|
-
# @param city [String] The city, district, town, or village of the address.
|
|
90
|
-
#
|
|
91
|
-
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
92
|
-
#
|
|
93
|
-
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
94
|
-
#
|
|
95
|
-
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
96
|
-
#
|
|
97
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
98
|
-
#
|
|
99
|
-
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
end
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class EntityArchiveBeneficialOwnerParams < Increase::Internal::Type::BaseModel
|
|
6
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
-
include Increase::Internal::Type::RequestParameters
|
|
8
|
-
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
Increase::EntityArchiveBeneficialOwnerParams,
|
|
13
|
-
Increase::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# The identifier of the Entity associated with the Beneficial Owner that is being
|
|
18
|
-
# archived.
|
|
19
|
-
sig { returns(String) }
|
|
20
|
-
attr_accessor :entity_id
|
|
21
|
-
|
|
22
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
23
|
-
# corporation.
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
attr_accessor :beneficial_owner_id
|
|
26
|
-
|
|
27
|
-
sig do
|
|
28
|
-
params(
|
|
29
|
-
entity_id: String,
|
|
30
|
-
beneficial_owner_id: String,
|
|
31
|
-
request_options: Increase::RequestOptions::OrHash
|
|
32
|
-
).returns(T.attached_class)
|
|
33
|
-
end
|
|
34
|
-
def self.new(
|
|
35
|
-
# The identifier of the Entity associated with the Beneficial Owner that is being
|
|
36
|
-
# archived.
|
|
37
|
-
entity_id:,
|
|
38
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
39
|
-
# corporation.
|
|
40
|
-
beneficial_owner_id:,
|
|
41
|
-
request_options: {}
|
|
42
|
-
)
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
sig do
|
|
46
|
-
override.returns(
|
|
47
|
-
{
|
|
48
|
-
entity_id: String,
|
|
49
|
-
beneficial_owner_id: String,
|
|
50
|
-
request_options: Increase::RequestOptions
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
end
|
|
54
|
-
def to_hash
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseModel
|
|
6
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
-
include Increase::Internal::Type::RequestParameters
|
|
8
|
-
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams,
|
|
13
|
-
Increase::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# The identifier of the Entity associated with the Beneficial Owner whose address
|
|
18
|
-
# is being updated.
|
|
19
|
-
sig { returns(String) }
|
|
20
|
-
attr_accessor :entity_id
|
|
21
|
-
|
|
22
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
23
|
-
# PMB's are disallowed.
|
|
24
|
-
sig do
|
|
25
|
-
returns(Increase::EntityUpdateBeneficialOwnerAddressParams::Address)
|
|
26
|
-
end
|
|
27
|
-
attr_reader :address
|
|
28
|
-
|
|
29
|
-
sig do
|
|
30
|
-
params(
|
|
31
|
-
address:
|
|
32
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash
|
|
33
|
-
).void
|
|
34
|
-
end
|
|
35
|
-
attr_writer :address
|
|
36
|
-
|
|
37
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
38
|
-
# corporation.
|
|
39
|
-
sig { returns(String) }
|
|
40
|
-
attr_accessor :beneficial_owner_id
|
|
41
|
-
|
|
42
|
-
sig do
|
|
43
|
-
params(
|
|
44
|
-
entity_id: String,
|
|
45
|
-
address:
|
|
46
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash,
|
|
47
|
-
beneficial_owner_id: String,
|
|
48
|
-
request_options: Increase::RequestOptions::OrHash
|
|
49
|
-
).returns(T.attached_class)
|
|
50
|
-
end
|
|
51
|
-
def self.new(
|
|
52
|
-
# The identifier of the Entity associated with the Beneficial Owner whose address
|
|
53
|
-
# is being updated.
|
|
54
|
-
entity_id:,
|
|
55
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
56
|
-
# PMB's are disallowed.
|
|
57
|
-
address:,
|
|
58
|
-
# The identifying details of anyone controlling or owning 25% or more of the
|
|
59
|
-
# corporation.
|
|
60
|
-
beneficial_owner_id:,
|
|
61
|
-
request_options: {}
|
|
62
|
-
)
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
sig do
|
|
66
|
-
override.returns(
|
|
67
|
-
{
|
|
68
|
-
entity_id: String,
|
|
69
|
-
address:
|
|
70
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
71
|
-
beneficial_owner_id: String,
|
|
72
|
-
request_options: Increase::RequestOptions
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
end
|
|
76
|
-
def to_hash
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
80
|
-
OrHash =
|
|
81
|
-
T.type_alias do
|
|
82
|
-
T.any(
|
|
83
|
-
Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
84
|
-
Increase::Internal::AnyHash
|
|
85
|
-
)
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
# The city, district, town, or village of the address.
|
|
89
|
-
sig { returns(String) }
|
|
90
|
-
attr_accessor :city
|
|
91
|
-
|
|
92
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
93
|
-
sig { returns(String) }
|
|
94
|
-
attr_accessor :country
|
|
95
|
-
|
|
96
|
-
# The first line of the address. This is usually the street number and street.
|
|
97
|
-
sig { returns(String) }
|
|
98
|
-
attr_accessor :line1
|
|
99
|
-
|
|
100
|
-
# The second line of the address. This might be the floor or room number.
|
|
101
|
-
sig { returns(T.nilable(String)) }
|
|
102
|
-
attr_reader :line2
|
|
103
|
-
|
|
104
|
-
sig { params(line2: String).void }
|
|
105
|
-
attr_writer :line2
|
|
106
|
-
|
|
107
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
108
|
-
# state, province, or region of the address. Required in certain countries.
|
|
109
|
-
sig { returns(T.nilable(String)) }
|
|
110
|
-
attr_reader :state
|
|
111
|
-
|
|
112
|
-
sig { params(state: String).void }
|
|
113
|
-
attr_writer :state
|
|
114
|
-
|
|
115
|
-
# The ZIP or postal code of the address. Required in certain countries.
|
|
116
|
-
sig { returns(T.nilable(String)) }
|
|
117
|
-
attr_reader :zip
|
|
118
|
-
|
|
119
|
-
sig { params(zip: String).void }
|
|
120
|
-
attr_writer :zip
|
|
121
|
-
|
|
122
|
-
# The individual's physical address. Mail receiving locations like PO Boxes and
|
|
123
|
-
# PMB's are disallowed.
|
|
124
|
-
sig do
|
|
125
|
-
params(
|
|
126
|
-
city: String,
|
|
127
|
-
country: String,
|
|
128
|
-
line1: String,
|
|
129
|
-
line2: String,
|
|
130
|
-
state: String,
|
|
131
|
-
zip: String
|
|
132
|
-
).returns(T.attached_class)
|
|
133
|
-
end
|
|
134
|
-
def self.new(
|
|
135
|
-
# The city, district, town, or village of the address.
|
|
136
|
-
city:,
|
|
137
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
138
|
-
country:,
|
|
139
|
-
# The first line of the address. This is usually the street number and street.
|
|
140
|
-
line1:,
|
|
141
|
-
# The second line of the address. This might be the floor or room number.
|
|
142
|
-
line2: nil,
|
|
143
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
144
|
-
# state, province, or region of the address. Required in certain countries.
|
|
145
|
-
state: nil,
|
|
146
|
-
# The ZIP or postal code of the address. Required in certain countries.
|
|
147
|
-
zip: nil
|
|
148
|
-
)
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
sig do
|
|
152
|
-
override.returns(
|
|
153
|
-
{
|
|
154
|
-
city: String,
|
|
155
|
-
country: String,
|
|
156
|
-
line1: String,
|
|
157
|
-
line2: String,
|
|
158
|
-
state: String,
|
|
159
|
-
zip: String
|
|
160
|
-
}
|
|
161
|
-
)
|
|
162
|
-
end
|
|
163
|
-
def to_hash
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
end
|
|
168
|
-
end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_archive_beneficial_owner_params =
|
|
4
|
-
{ entity_id: String, beneficial_owner_id: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class EntityArchiveBeneficialOwnerParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor entity_id: String
|
|
12
|
-
|
|
13
|
-
attr_accessor beneficial_owner_id: String
|
|
14
|
-
|
|
15
|
-
def initialize: (
|
|
16
|
-
entity_id: String,
|
|
17
|
-
beneficial_owner_id: String,
|
|
18
|
-
?request_options: Increase::request_opts
|
|
19
|
-
) -> void
|
|
20
|
-
|
|
21
|
-
def to_hash: -> {
|
|
22
|
-
entity_id: String,
|
|
23
|
-
beneficial_owner_id: String,
|
|
24
|
-
request_options: Increase::RequestOptions
|
|
25
|
-
}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_update_beneficial_owner_address_params =
|
|
4
|
-
{
|
|
5
|
-
entity_id: String,
|
|
6
|
-
address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
7
|
-
beneficial_owner_id: String
|
|
8
|
-
}
|
|
9
|
-
& Increase::Internal::Type::request_parameters
|
|
10
|
-
|
|
11
|
-
class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseModel
|
|
12
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
13
|
-
include Increase::Internal::Type::RequestParameters
|
|
14
|
-
|
|
15
|
-
attr_accessor entity_id: String
|
|
16
|
-
|
|
17
|
-
attr_accessor address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address
|
|
18
|
-
|
|
19
|
-
attr_accessor beneficial_owner_id: String
|
|
20
|
-
|
|
21
|
-
def initialize: (
|
|
22
|
-
entity_id: String,
|
|
23
|
-
address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
24
|
-
beneficial_owner_id: String,
|
|
25
|
-
?request_options: Increase::request_opts
|
|
26
|
-
) -> void
|
|
27
|
-
|
|
28
|
-
def to_hash: -> {
|
|
29
|
-
entity_id: String,
|
|
30
|
-
address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
31
|
-
beneficial_owner_id: String,
|
|
32
|
-
request_options: Increase::RequestOptions
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type address =
|
|
36
|
-
{
|
|
37
|
-
city: String,
|
|
38
|
-
country: String,
|
|
39
|
-
:line1 => String,
|
|
40
|
-
:line2 => String,
|
|
41
|
-
state: String,
|
|
42
|
-
zip: String
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
46
|
-
attr_accessor city: String
|
|
47
|
-
|
|
48
|
-
attr_accessor country: String
|
|
49
|
-
|
|
50
|
-
attr_accessor line1: String
|
|
51
|
-
|
|
52
|
-
attr_reader line2: String?
|
|
53
|
-
|
|
54
|
-
def line2=: (String) -> String
|
|
55
|
-
|
|
56
|
-
attr_reader state: String?
|
|
57
|
-
|
|
58
|
-
def state=: (String) -> String
|
|
59
|
-
|
|
60
|
-
attr_reader zip: String?
|
|
61
|
-
|
|
62
|
-
def zip=: (String) -> String
|
|
63
|
-
|
|
64
|
-
def initialize: (
|
|
65
|
-
city: String,
|
|
66
|
-
country: String,
|
|
67
|
-
line1: String,
|
|
68
|
-
?line2: String,
|
|
69
|
-
?state: String,
|
|
70
|
-
?zip: String
|
|
71
|
-
) -> void
|
|
72
|
-
|
|
73
|
-
def to_hash: -> {
|
|
74
|
-
city: String,
|
|
75
|
-
country: String,
|
|
76
|
-
:line1 => String,
|
|
77
|
-
:line2 => String,
|
|
78
|
-
state: String,
|
|
79
|
-
zip: String
|
|
80
|
-
}
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|