increase 1.238.0 → 1.239.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +4 -0
- data/lib/increase/models/beneficial_owner_list_params.rb +54 -0
- data/lib/increase/models/beneficial_owner_retrieve_params.rb +22 -0
- data/lib/increase/models/entity.rb +3 -207
- data/lib/increase/models/entity_beneficial_owner.rb +238 -0
- data/lib/increase/models.rb +6 -0
- data/lib/increase/resources/beneficial_owners.rb +67 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +4 -0
- data/rbi/increase/client.rbi +3 -0
- data/rbi/increase/models/beneficial_owner_list_params.rbi +89 -0
- data/rbi/increase/models/beneficial_owner_retrieve_params.rbi +46 -0
- data/rbi/increase/models/entity.rbi +3 -403
- data/rbi/increase/models/entity_beneficial_owner.rbi +412 -0
- data/rbi/increase/models.rbi +7 -0
- data/rbi/increase/resources/beneficial_owners.rbi +54 -0
- data/sig/increase/client.rbs +2 -0
- data/sig/increase/models/beneficial_owner_list_params.rbs +47 -0
- data/sig/increase/models/beneficial_owner_retrieve_params.rbs +24 -0
- data/sig/increase/models/entity.rbs +4 -174
- data/sig/increase/models/entity_beneficial_owner.rbs +193 -0
- data/sig/increase/models.rbs +6 -0
- data/sig/increase/resources/beneficial_owners.rbs +20 -0
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68b25ad092849f14357d0e14badb9dc474f02a8e5c4ec6f7e7e5994d19d3e062
|
|
4
|
+
data.tar.gz: 13a6c13e98500137399c5674e8978ae72c1b558fec0abcbb325dc40db8739c51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcdc889c8b54f700658571d76fb216122e474d9d16efe586f3d15273841ec13951105075cc2840d44df325d6d570a3c11ddfdea36863da63717c3b74b6a7a770
|
|
7
|
+
data.tar.gz: 72053d1b2aa394adce52cac31af22e4504eee78b00765d98ff960b58e898841203ba7b5376370fb48222b004bbbaa6bacac138f059f8621770066abee8919650
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.239.0 (2026-03-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.238.0...v1.239.0](https://github.com/Increase/increase-ruby/compare/v1.238.0...v1.239.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([1431693](https://github.com/Increase/increase-ruby/commit/14316937bb3c4a431a0beae5bb85a37b6d6910a0))
|
|
10
|
+
|
|
3
11
|
## 1.238.0 (2026-03-09)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.237.0...v1.238.0](https://github.com/Increase/increase-ruby/compare/v1.237.0...v1.238.0)
|
data/README.md
CHANGED
data/lib/increase/client.rb
CHANGED
|
@@ -125,6 +125,9 @@ module Increase
|
|
|
125
125
|
# @return [Increase::Resources::Entities]
|
|
126
126
|
attr_reader :entities
|
|
127
127
|
|
|
128
|
+
# @return [Increase::Resources::BeneficialOwners]
|
|
129
|
+
attr_reader :beneficial_owners
|
|
130
|
+
|
|
128
131
|
# @return [Increase::Resources::SupplementalDocuments]
|
|
129
132
|
attr_reader :supplemental_documents
|
|
130
133
|
|
|
@@ -291,6 +294,7 @@ module Increase
|
|
|
291
294
|
@routing_numbers = Increase::Resources::RoutingNumbers.new(client: self)
|
|
292
295
|
@external_accounts = Increase::Resources::ExternalAccounts.new(client: self)
|
|
293
296
|
@entities = Increase::Resources::Entities.new(client: self)
|
|
297
|
+
@beneficial_owners = Increase::Resources::BeneficialOwners.new(client: self)
|
|
294
298
|
@supplemental_documents = Increase::Resources::SupplementalDocuments.new(client: self)
|
|
295
299
|
@programs = Increase::Resources::Programs.new(client: self)
|
|
296
300
|
@account_statements = Increase::Resources::AccountStatements.new(client: self)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::BeneficialOwners#list
|
|
6
|
+
class BeneficialOwnerListParams < 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 to list beneficial owners for. Only `corporation`
|
|
12
|
+
# entities have beneficial owners.
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :entity_id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute cursor
|
|
18
|
+
# Return the page of entries after this one.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :cursor, String
|
|
22
|
+
|
|
23
|
+
# @!attribute idempotency_key
|
|
24
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
25
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
26
|
+
# request is only processed once. Learn more about
|
|
27
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :idempotency_key, String
|
|
31
|
+
|
|
32
|
+
# @!attribute limit
|
|
33
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
34
|
+
# objects.
|
|
35
|
+
#
|
|
36
|
+
# @return [Integer, nil]
|
|
37
|
+
optional :limit, Integer
|
|
38
|
+
|
|
39
|
+
# @!method initialize(entity_id:, cursor: nil, idempotency_key: nil, limit: nil, request_options: {})
|
|
40
|
+
# Some parameter documentations has been truncated, see
|
|
41
|
+
# {Increase::Models::BeneficialOwnerListParams} for more details.
|
|
42
|
+
#
|
|
43
|
+
# @param entity_id [String] The identifier of the Entity to list beneficial owners for. Only `corporation` e
|
|
44
|
+
#
|
|
45
|
+
# @param cursor [String] Return the page of entries after this one.
|
|
46
|
+
#
|
|
47
|
+
# @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
|
|
48
|
+
#
|
|
49
|
+
# @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
|
|
50
|
+
#
|
|
51
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::BeneficialOwners#retrieve
|
|
6
|
+
class BeneficialOwnerRetrieveParams < 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 retrieve.
|
|
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 retrieve.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -174,9 +174,8 @@ module Increase
|
|
|
174
174
|
# The identifying details of anyone controlling or owning 25% or more of the
|
|
175
175
|
# corporation.
|
|
176
176
|
#
|
|
177
|
-
# @return [Array<Increase::Models::
|
|
178
|
-
required :beneficial_owners,
|
|
179
|
-
-> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] }
|
|
177
|
+
# @return [Array<Increase::Models::EntityBeneficialOwner>]
|
|
178
|
+
required :beneficial_owners, -> { Increase::Internal::Type::ArrayOf[Increase::EntityBeneficialOwner] }
|
|
180
179
|
|
|
181
180
|
# @!attribute email
|
|
182
181
|
# An email address for the business.
|
|
@@ -225,7 +224,7 @@ module Increase
|
|
|
225
224
|
#
|
|
226
225
|
# @param address [Increase::Models::Entity::Corporation::Address] The corporation's address.
|
|
227
226
|
#
|
|
228
|
-
# @param beneficial_owners [Array<Increase::Models::
|
|
227
|
+
# @param beneficial_owners [Array<Increase::Models::EntityBeneficialOwner>] The identifying details of anyone controlling or owning 25% or more of the corpo
|
|
229
228
|
#
|
|
230
229
|
# @param email [String, nil] An email address for the business.
|
|
231
230
|
#
|
|
@@ -288,209 +287,6 @@ module Increase
|
|
|
288
287
|
#
|
|
289
288
|
# @param zip [String] The ZIP code of the address.
|
|
290
289
|
end
|
|
291
|
-
|
|
292
|
-
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
|
293
|
-
# @!attribute id
|
|
294
|
-
# The identifier of this beneficial owner.
|
|
295
|
-
#
|
|
296
|
-
# @return [String]
|
|
297
|
-
required :id, String
|
|
298
|
-
|
|
299
|
-
# @!attribute company_title
|
|
300
|
-
# This person's role or title within the entity.
|
|
301
|
-
#
|
|
302
|
-
# @return [String, nil]
|
|
303
|
-
required :company_title, String, nil?: true
|
|
304
|
-
|
|
305
|
-
# @!attribute individual
|
|
306
|
-
# Personal details for the beneficial owner.
|
|
307
|
-
#
|
|
308
|
-
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual]
|
|
309
|
-
required :individual, -> { Increase::Entity::Corporation::BeneficialOwner::Individual }
|
|
310
|
-
|
|
311
|
-
# @!attribute prongs
|
|
312
|
-
# Why this person is considered a beneficial owner of the entity.
|
|
313
|
-
#
|
|
314
|
-
# @return [Array<Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong>]
|
|
315
|
-
required :prongs,
|
|
316
|
-
-> { Increase::Internal::Type::ArrayOf[enum: Increase::Entity::Corporation::BeneficialOwner::Prong] }
|
|
317
|
-
|
|
318
|
-
# @!method initialize(id:, company_title:, individual:, prongs:)
|
|
319
|
-
# @param id [String] The identifier of this beneficial owner.
|
|
320
|
-
#
|
|
321
|
-
# @param company_title [String, nil] This person's role or title within the entity.
|
|
322
|
-
#
|
|
323
|
-
# @param individual [Increase::Models::Entity::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner.
|
|
324
|
-
#
|
|
325
|
-
# @param prongs [Array<Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong>] Why this person is considered a beneficial owner of the entity.
|
|
326
|
-
|
|
327
|
-
# @see Increase::Models::Entity::Corporation::BeneficialOwner#individual
|
|
328
|
-
class Individual < Increase::Internal::Type::BaseModel
|
|
329
|
-
# @!attribute address
|
|
330
|
-
# The person's address.
|
|
331
|
-
#
|
|
332
|
-
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address]
|
|
333
|
-
required :address, -> { Increase::Entity::Corporation::BeneficialOwner::Individual::Address }
|
|
334
|
-
|
|
335
|
-
# @!attribute date_of_birth
|
|
336
|
-
# The person's date of birth in YYYY-MM-DD format.
|
|
337
|
-
#
|
|
338
|
-
# @return [Date]
|
|
339
|
-
required :date_of_birth, Date
|
|
340
|
-
|
|
341
|
-
# @!attribute identification
|
|
342
|
-
# A means of verifying the person's identity.
|
|
343
|
-
#
|
|
344
|
-
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification]
|
|
345
|
-
required :identification,
|
|
346
|
-
-> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification }
|
|
347
|
-
|
|
348
|
-
# @!attribute name
|
|
349
|
-
# The person's legal name.
|
|
350
|
-
#
|
|
351
|
-
# @return [String]
|
|
352
|
-
required :name, String
|
|
353
|
-
|
|
354
|
-
# @!method initialize(address:, date_of_birth:, identification:, name:)
|
|
355
|
-
# Personal details for the beneficial owner.
|
|
356
|
-
#
|
|
357
|
-
# @param address [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address] The person's address.
|
|
358
|
-
#
|
|
359
|
-
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
360
|
-
#
|
|
361
|
-
# @param identification [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity.
|
|
362
|
-
#
|
|
363
|
-
# @param name [String] The person's legal name.
|
|
364
|
-
|
|
365
|
-
# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#address
|
|
366
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
367
|
-
# @!attribute city
|
|
368
|
-
# The city, district, town, or village of the address.
|
|
369
|
-
#
|
|
370
|
-
# @return [String, nil]
|
|
371
|
-
required :city, String, nil?: true
|
|
372
|
-
|
|
373
|
-
# @!attribute country
|
|
374
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
375
|
-
#
|
|
376
|
-
# @return [String]
|
|
377
|
-
required :country, String
|
|
378
|
-
|
|
379
|
-
# @!attribute line1
|
|
380
|
-
# The first line of the address.
|
|
381
|
-
#
|
|
382
|
-
# @return [String]
|
|
383
|
-
required :line1, String
|
|
384
|
-
|
|
385
|
-
# @!attribute line2
|
|
386
|
-
# The second line of the address.
|
|
387
|
-
#
|
|
388
|
-
# @return [String, nil]
|
|
389
|
-
required :line2, String, nil?: true
|
|
390
|
-
|
|
391
|
-
# @!attribute state
|
|
392
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
393
|
-
# state, province, or region of the address.
|
|
394
|
-
#
|
|
395
|
-
# @return [String, nil]
|
|
396
|
-
required :state, String, nil?: true
|
|
397
|
-
|
|
398
|
-
# @!attribute zip
|
|
399
|
-
# The ZIP or postal code of the address.
|
|
400
|
-
#
|
|
401
|
-
# @return [String, nil]
|
|
402
|
-
required :zip, String, nil?: true
|
|
403
|
-
|
|
404
|
-
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
405
|
-
# Some parameter documentations has been truncated, see
|
|
406
|
-
# {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address}
|
|
407
|
-
# for more details.
|
|
408
|
-
#
|
|
409
|
-
# The person's address.
|
|
410
|
-
#
|
|
411
|
-
# @param city [String, nil] The city, district, town, or village of the address.
|
|
412
|
-
#
|
|
413
|
-
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
414
|
-
#
|
|
415
|
-
# @param line1 [String] The first line of the address.
|
|
416
|
-
#
|
|
417
|
-
# @param line2 [String, nil] The second line of the address.
|
|
418
|
-
#
|
|
419
|
-
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
420
|
-
#
|
|
421
|
-
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
422
|
-
end
|
|
423
|
-
|
|
424
|
-
# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#identification
|
|
425
|
-
class Identification < Increase::Internal::Type::BaseModel
|
|
426
|
-
# @!attribute method_
|
|
427
|
-
# A method that can be used to verify the individual's identity.
|
|
428
|
-
#
|
|
429
|
-
# @return [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method]
|
|
430
|
-
required :method_,
|
|
431
|
-
enum: -> {
|
|
432
|
-
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method
|
|
433
|
-
},
|
|
434
|
-
api_name: :method
|
|
435
|
-
|
|
436
|
-
# @!attribute number_last4
|
|
437
|
-
# The last 4 digits of the identification number that can be used to verify the
|
|
438
|
-
# individual's identity.
|
|
439
|
-
#
|
|
440
|
-
# @return [String]
|
|
441
|
-
required :number_last4, String
|
|
442
|
-
|
|
443
|
-
# @!method initialize(method_:, number_last4:)
|
|
444
|
-
# Some parameter documentations has been truncated, see
|
|
445
|
-
# {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification}
|
|
446
|
-
# for more details.
|
|
447
|
-
#
|
|
448
|
-
# A means of verifying the person's identity.
|
|
449
|
-
#
|
|
450
|
-
# @param method_ [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity.
|
|
451
|
-
#
|
|
452
|
-
# @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in
|
|
453
|
-
|
|
454
|
-
# A method that can be used to verify the individual's identity.
|
|
455
|
-
#
|
|
456
|
-
# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification#method_
|
|
457
|
-
module Method
|
|
458
|
-
extend Increase::Internal::Type::Enum
|
|
459
|
-
|
|
460
|
-
# A social security number.
|
|
461
|
-
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
462
|
-
|
|
463
|
-
# An individual taxpayer identification number (ITIN).
|
|
464
|
-
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
465
|
-
|
|
466
|
-
# A passport number.
|
|
467
|
-
PASSPORT = :passport
|
|
468
|
-
|
|
469
|
-
# A driver's license number.
|
|
470
|
-
DRIVERS_LICENSE = :drivers_license
|
|
471
|
-
|
|
472
|
-
# Another identifying document.
|
|
473
|
-
OTHER = :other
|
|
474
|
-
|
|
475
|
-
# @!method self.values
|
|
476
|
-
# @return [Array<Symbol>]
|
|
477
|
-
end
|
|
478
|
-
end
|
|
479
|
-
end
|
|
480
|
-
|
|
481
|
-
module Prong
|
|
482
|
-
extend Increase::Internal::Type::Enum
|
|
483
|
-
|
|
484
|
-
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
485
|
-
OWNERSHIP = :ownership
|
|
486
|
-
|
|
487
|
-
# A person who manages, directs, or has significant control of the entity.
|
|
488
|
-
CONTROL = :control
|
|
489
|
-
|
|
490
|
-
# @!method self.values
|
|
491
|
-
# @return [Array<Symbol>]
|
|
492
|
-
end
|
|
493
|
-
end
|
|
494
290
|
end
|
|
495
291
|
|
|
496
292
|
# @see Increase::Models::Entity#government_authority
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::BeneficialOwners#retrieve
|
|
6
|
+
class EntityBeneficialOwner < Increase::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# The identifier of this beneficial owner.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute company_title
|
|
14
|
+
# This person's role or title within the entity.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
required :company_title, String, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!attribute created_at
|
|
20
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
21
|
+
# Beneficial Owner was created.
|
|
22
|
+
#
|
|
23
|
+
# @return [Time]
|
|
24
|
+
required :created_at, Time
|
|
25
|
+
|
|
26
|
+
# @!attribute individual
|
|
27
|
+
# Personal details for the beneficial owner.
|
|
28
|
+
#
|
|
29
|
+
# @return [Increase::Models::EntityBeneficialOwner::Individual]
|
|
30
|
+
required :individual, -> { Increase::EntityBeneficialOwner::Individual }
|
|
31
|
+
|
|
32
|
+
# @!attribute prongs
|
|
33
|
+
# Why this person is considered a beneficial owner of the entity.
|
|
34
|
+
#
|
|
35
|
+
# @return [Array<Symbol, Increase::Models::EntityBeneficialOwner::Prong>]
|
|
36
|
+
required :prongs, -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityBeneficialOwner::Prong] }
|
|
37
|
+
|
|
38
|
+
# @!attribute type
|
|
39
|
+
# A constant representing the object's type. For this resource it will always be
|
|
40
|
+
# `entity_beneficial_owner`.
|
|
41
|
+
#
|
|
42
|
+
# @return [Symbol, Increase::Models::EntityBeneficialOwner::Type]
|
|
43
|
+
required :type, enum: -> { Increase::EntityBeneficialOwner::Type }
|
|
44
|
+
|
|
45
|
+
# @!method initialize(id:, company_title:, created_at:, individual:, prongs:, type:)
|
|
46
|
+
# Some parameter documentations has been truncated, see
|
|
47
|
+
# {Increase::Models::EntityBeneficialOwner} for more details.
|
|
48
|
+
#
|
|
49
|
+
# @param id [String] The identifier of this beneficial owner.
|
|
50
|
+
#
|
|
51
|
+
# @param company_title [String, nil] This person's role or title within the entity.
|
|
52
|
+
#
|
|
53
|
+
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Benefic
|
|
54
|
+
#
|
|
55
|
+
# @param individual [Increase::Models::EntityBeneficialOwner::Individual] Personal details for the beneficial owner.
|
|
56
|
+
#
|
|
57
|
+
# @param prongs [Array<Symbol, Increase::Models::EntityBeneficialOwner::Prong>] Why this person is considered a beneficial owner of the entity.
|
|
58
|
+
#
|
|
59
|
+
# @param type [Symbol, Increase::Models::EntityBeneficialOwner::Type] A constant representing the object's type. For this resource it will always be `
|
|
60
|
+
|
|
61
|
+
# @see Increase::Models::EntityBeneficialOwner#individual
|
|
62
|
+
class Individual < Increase::Internal::Type::BaseModel
|
|
63
|
+
# @!attribute address
|
|
64
|
+
# The person's address.
|
|
65
|
+
#
|
|
66
|
+
# @return [Increase::Models::EntityBeneficialOwner::Individual::Address]
|
|
67
|
+
required :address, -> { Increase::EntityBeneficialOwner::Individual::Address }
|
|
68
|
+
|
|
69
|
+
# @!attribute date_of_birth
|
|
70
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
71
|
+
#
|
|
72
|
+
# @return [Date]
|
|
73
|
+
required :date_of_birth, Date
|
|
74
|
+
|
|
75
|
+
# @!attribute identification
|
|
76
|
+
# A means of verifying the person's identity.
|
|
77
|
+
#
|
|
78
|
+
# @return [Increase::Models::EntityBeneficialOwner::Individual::Identification]
|
|
79
|
+
required :identification, -> { Increase::EntityBeneficialOwner::Individual::Identification }
|
|
80
|
+
|
|
81
|
+
# @!attribute name
|
|
82
|
+
# The person's legal name.
|
|
83
|
+
#
|
|
84
|
+
# @return [String]
|
|
85
|
+
required :name, String
|
|
86
|
+
|
|
87
|
+
# @!method initialize(address:, date_of_birth:, identification:, name:)
|
|
88
|
+
# Personal details for the beneficial owner.
|
|
89
|
+
#
|
|
90
|
+
# @param address [Increase::Models::EntityBeneficialOwner::Individual::Address] The person's address.
|
|
91
|
+
#
|
|
92
|
+
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
93
|
+
#
|
|
94
|
+
# @param identification [Increase::Models::EntityBeneficialOwner::Individual::Identification] A means of verifying the person's identity.
|
|
95
|
+
#
|
|
96
|
+
# @param name [String] The person's legal name.
|
|
97
|
+
|
|
98
|
+
# @see Increase::Models::EntityBeneficialOwner::Individual#address
|
|
99
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
100
|
+
# @!attribute city
|
|
101
|
+
# The city, district, town, or village of the address.
|
|
102
|
+
#
|
|
103
|
+
# @return [String, nil]
|
|
104
|
+
required :city, String, nil?: true
|
|
105
|
+
|
|
106
|
+
# @!attribute country
|
|
107
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
108
|
+
#
|
|
109
|
+
# @return [String]
|
|
110
|
+
required :country, String
|
|
111
|
+
|
|
112
|
+
# @!attribute line1
|
|
113
|
+
# The first line of the address.
|
|
114
|
+
#
|
|
115
|
+
# @return [String]
|
|
116
|
+
required :line1, String
|
|
117
|
+
|
|
118
|
+
# @!attribute line2
|
|
119
|
+
# The second line of the address.
|
|
120
|
+
#
|
|
121
|
+
# @return [String, nil]
|
|
122
|
+
required :line2, String, nil?: true
|
|
123
|
+
|
|
124
|
+
# @!attribute state
|
|
125
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
126
|
+
# state, province, or region of the address.
|
|
127
|
+
#
|
|
128
|
+
# @return [String, nil]
|
|
129
|
+
required :state, String, nil?: true
|
|
130
|
+
|
|
131
|
+
# @!attribute zip
|
|
132
|
+
# The ZIP or postal code of the address.
|
|
133
|
+
#
|
|
134
|
+
# @return [String, nil]
|
|
135
|
+
required :zip, String, nil?: true
|
|
136
|
+
|
|
137
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
138
|
+
# Some parameter documentations has been truncated, see
|
|
139
|
+
# {Increase::Models::EntityBeneficialOwner::Individual::Address} for more details.
|
|
140
|
+
#
|
|
141
|
+
# The person's address.
|
|
142
|
+
#
|
|
143
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
144
|
+
#
|
|
145
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
146
|
+
#
|
|
147
|
+
# @param line1 [String] The first line of the address.
|
|
148
|
+
#
|
|
149
|
+
# @param line2 [String, nil] The second line of the address.
|
|
150
|
+
#
|
|
151
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
152
|
+
#
|
|
153
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# @see Increase::Models::EntityBeneficialOwner::Individual#identification
|
|
157
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
158
|
+
# @!attribute method_
|
|
159
|
+
# A method that can be used to verify the individual's identity.
|
|
160
|
+
#
|
|
161
|
+
# @return [Symbol, Increase::Models::EntityBeneficialOwner::Individual::Identification::Method]
|
|
162
|
+
required :method_,
|
|
163
|
+
enum: -> { Increase::EntityBeneficialOwner::Individual::Identification::Method },
|
|
164
|
+
api_name: :method
|
|
165
|
+
|
|
166
|
+
# @!attribute number_last4
|
|
167
|
+
# The last 4 digits of the identification number that can be used to verify the
|
|
168
|
+
# individual's identity.
|
|
169
|
+
#
|
|
170
|
+
# @return [String]
|
|
171
|
+
required :number_last4, String
|
|
172
|
+
|
|
173
|
+
# @!method initialize(method_:, number_last4:)
|
|
174
|
+
# Some parameter documentations has been truncated, see
|
|
175
|
+
# {Increase::Models::EntityBeneficialOwner::Individual::Identification} for more
|
|
176
|
+
# details.
|
|
177
|
+
#
|
|
178
|
+
# A means of verifying the person's identity.
|
|
179
|
+
#
|
|
180
|
+
# @param method_ [Symbol, Increase::Models::EntityBeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity.
|
|
181
|
+
#
|
|
182
|
+
# @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in
|
|
183
|
+
|
|
184
|
+
# A method that can be used to verify the individual's identity.
|
|
185
|
+
#
|
|
186
|
+
# @see Increase::Models::EntityBeneficialOwner::Individual::Identification#method_
|
|
187
|
+
module Method
|
|
188
|
+
extend Increase::Internal::Type::Enum
|
|
189
|
+
|
|
190
|
+
# A social security number.
|
|
191
|
+
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
192
|
+
|
|
193
|
+
# An individual taxpayer identification number (ITIN).
|
|
194
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
195
|
+
|
|
196
|
+
# A passport number.
|
|
197
|
+
PASSPORT = :passport
|
|
198
|
+
|
|
199
|
+
# A driver's license number.
|
|
200
|
+
DRIVERS_LICENSE = :drivers_license
|
|
201
|
+
|
|
202
|
+
# Another identifying document.
|
|
203
|
+
OTHER = :other
|
|
204
|
+
|
|
205
|
+
# @!method self.values
|
|
206
|
+
# @return [Array<Symbol>]
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
module Prong
|
|
212
|
+
extend Increase::Internal::Type::Enum
|
|
213
|
+
|
|
214
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
215
|
+
OWNERSHIP = :ownership
|
|
216
|
+
|
|
217
|
+
# A person who manages, directs, or has significant control of the entity.
|
|
218
|
+
CONTROL = :control
|
|
219
|
+
|
|
220
|
+
# @!method self.values
|
|
221
|
+
# @return [Array<Symbol>]
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# A constant representing the object's type. For this resource it will always be
|
|
225
|
+
# `entity_beneficial_owner`.
|
|
226
|
+
#
|
|
227
|
+
# @see Increase::Models::EntityBeneficialOwner#type
|
|
228
|
+
module Type
|
|
229
|
+
extend Increase::Internal::Type::Enum
|
|
230
|
+
|
|
231
|
+
ENTITY_BENEFICIAL_OWNER = :entity_beneficial_owner
|
|
232
|
+
|
|
233
|
+
# @!method self.values
|
|
234
|
+
# @return [Array<Symbol>]
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
end
|
data/lib/increase/models.rb
CHANGED
|
@@ -103,6 +103,10 @@ module Increase
|
|
|
103
103
|
|
|
104
104
|
BalanceLookup = Increase::Models::BalanceLookup
|
|
105
105
|
|
|
106
|
+
BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
|
|
107
|
+
|
|
108
|
+
BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
|
|
109
|
+
|
|
106
110
|
BookkeepingAccount = Increase::Models::BookkeepingAccount
|
|
107
111
|
|
|
108
112
|
BookkeepingAccountBalanceParams = Increase::Models::BookkeepingAccountBalanceParams
|
|
@@ -255,6 +259,8 @@ module Increase
|
|
|
255
259
|
|
|
256
260
|
EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
257
261
|
|
|
262
|
+
EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
|
|
263
|
+
|
|
258
264
|
EntityCreateBeneficialOwnerParams = Increase::Models::EntityCreateBeneficialOwnerParams
|
|
259
265
|
|
|
260
266
|
EntityCreateParams = Increase::Models::EntityCreateParams
|