increase 1.289.0 → 1.291.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/entity.rb +20 -15
- data/lib/increase/models/entity_beneficial_owner.rb +7 -3
- data/lib/increase/models/entity_update_params.rb +230 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +57 -20
- data/rbi/increase/models/entity_beneficial_owner.rbi +14 -4
- data/rbi/increase/models/entity_update_params.rbi +424 -0
- data/sig/increase/models/entity.rbs +20 -20
- data/sig/increase/models/entity_beneficial_owner.rbs +4 -4
- data/sig/increase/models/entity_update_params.rbs +191 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04701f5cc966f87c80be5d546a0ebfb2c4aceaf452662f5c255ec44700432474
|
|
4
|
+
data.tar.gz: f093c60a4d264cc201740c2a011e5cbcc428543e3657e40b397f8cdfc9a279f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9940ffa0a2c97e0135d6b68e1e45480b5becbe596f7615c64e3fa5393ba4075f27f7bfeea819825e96842f1e8a62840a72796e11178b034cd301f7fc8873c195
|
|
7
|
+
data.tar.gz: 498d8f2ced98f35711a0aa64fb24a308be1458b870a79245d61483368605292a63e4dda62360e915c261e647d1eb01ea36cc8299b7774e10951225ad2e63de2e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.291.0 (2026-04-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.290.0...v1.291.0](https://github.com/Increase/increase-ruby/compare/v1.290.0...v1.291.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([73b4dc9](https://github.com/Increase/increase-ruby/commit/73b4dc91c7df54fcde9b73c3d3556f0d36634816))
|
|
10
|
+
|
|
11
|
+
## 1.290.0 (2026-04-11)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.289.0...v1.290.0](https://github.com/Increase/increase-ruby/compare/v1.289.0...v1.290.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([8946493](https://github.com/Increase/increase-ruby/commit/89464937f203db3e01835590524a71cdd8c1897f))
|
|
18
|
+
|
|
3
19
|
## 1.289.0 (2026-04-11)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.288.0...v1.289.0](https://github.com/Increase/increase-ruby/compare/v1.288.0...v1.289.0)
|
data/README.md
CHANGED
|
@@ -359,9 +359,10 @@ module Increase
|
|
|
359
359
|
# @!attribute identification
|
|
360
360
|
# A means of verifying the person's identity.
|
|
361
361
|
#
|
|
362
|
-
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification]
|
|
362
|
+
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification, nil]
|
|
363
363
|
required :identification,
|
|
364
|
-
-> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification }
|
|
364
|
+
-> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification },
|
|
365
|
+
nil?: true
|
|
365
366
|
|
|
366
367
|
# @!attribute name
|
|
367
368
|
# The person's legal name.
|
|
@@ -376,7 +377,7 @@ module Increase
|
|
|
376
377
|
#
|
|
377
378
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
378
379
|
#
|
|
379
|
-
# @param identification [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity.
|
|
380
|
+
# @param identification [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification, nil] A means of verifying the person's identity.
|
|
380
381
|
#
|
|
381
382
|
# @param name [String] The person's legal name.
|
|
382
383
|
|
|
@@ -741,8 +742,8 @@ module Increase
|
|
|
741
742
|
# @!attribute identification
|
|
742
743
|
# A means of verifying the person's identity.
|
|
743
744
|
#
|
|
744
|
-
# @return [Increase::Models::Entity::Joint::Individual::Identification]
|
|
745
|
-
required :identification, -> { Increase::Entity::Joint::Individual::Identification }
|
|
745
|
+
# @return [Increase::Models::Entity::Joint::Individual::Identification, nil]
|
|
746
|
+
required :identification, -> { Increase::Entity::Joint::Individual::Identification }, nil?: true
|
|
746
747
|
|
|
747
748
|
# @!attribute name
|
|
748
749
|
# The person's legal name.
|
|
@@ -755,7 +756,7 @@ module Increase
|
|
|
755
756
|
#
|
|
756
757
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
757
758
|
#
|
|
758
|
-
# @param identification [Increase::Models::Entity::Joint::Individual::Identification] A means of verifying the person's identity.
|
|
759
|
+
# @param identification [Increase::Models::Entity::Joint::Individual::Identification, nil] A means of verifying the person's identity.
|
|
759
760
|
#
|
|
760
761
|
# @param name [String] The person's legal name.
|
|
761
762
|
|
|
@@ -889,8 +890,8 @@ module Increase
|
|
|
889
890
|
# @!attribute identification
|
|
890
891
|
# A means of verifying the person's identity.
|
|
891
892
|
#
|
|
892
|
-
# @return [Increase::Models::Entity::NaturalPerson::Identification]
|
|
893
|
-
required :identification, -> { Increase::Entity::NaturalPerson::Identification }
|
|
893
|
+
# @return [Increase::Models::Entity::NaturalPerson::Identification, nil]
|
|
894
|
+
required :identification, -> { Increase::Entity::NaturalPerson::Identification }, nil?: true
|
|
894
895
|
|
|
895
896
|
# @!attribute name
|
|
896
897
|
# The person's legal name.
|
|
@@ -906,7 +907,7 @@ module Increase
|
|
|
906
907
|
#
|
|
907
908
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
908
909
|
#
|
|
909
|
-
# @param identification [Increase::Models::Entity::NaturalPerson::Identification] A means of verifying the person's identity.
|
|
910
|
+
# @param identification [Increase::Models::Entity::NaturalPerson::Identification, nil] A means of verifying the person's identity.
|
|
910
911
|
#
|
|
911
912
|
# @param name [String] The person's legal name.
|
|
912
913
|
|
|
@@ -1357,8 +1358,8 @@ module Increase
|
|
|
1357
1358
|
# @!attribute identification
|
|
1358
1359
|
# A means of verifying the person's identity.
|
|
1359
1360
|
#
|
|
1360
|
-
# @return [Increase::Models::Entity::Trust::Grantor::Identification]
|
|
1361
|
-
required :identification, -> { Increase::Entity::Trust::Grantor::Identification }
|
|
1361
|
+
# @return [Increase::Models::Entity::Trust::Grantor::Identification, nil]
|
|
1362
|
+
required :identification, -> { Increase::Entity::Trust::Grantor::Identification }, nil?: true
|
|
1362
1363
|
|
|
1363
1364
|
# @!attribute name
|
|
1364
1365
|
# The person's legal name.
|
|
@@ -1373,7 +1374,7 @@ module Increase
|
|
|
1373
1374
|
#
|
|
1374
1375
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
1375
1376
|
#
|
|
1376
|
-
# @param identification [Increase::Models::Entity::Trust::Grantor::Identification] A means of verifying the person's identity.
|
|
1377
|
+
# @param identification [Increase::Models::Entity::Trust::Grantor::Identification, nil] A means of verifying the person's identity.
|
|
1377
1378
|
#
|
|
1378
1379
|
# @param name [String] The person's legal name.
|
|
1379
1380
|
|
|
@@ -1528,8 +1529,12 @@ module Increase
|
|
|
1528
1529
|
# @!attribute identification
|
|
1529
1530
|
# A means of verifying the person's identity.
|
|
1530
1531
|
#
|
|
1531
|
-
# @return [Increase::Models::Entity::Trust::Trustee::Individual::Identification]
|
|
1532
|
-
required :identification,
|
|
1532
|
+
# @return [Increase::Models::Entity::Trust::Trustee::Individual::Identification, nil]
|
|
1533
|
+
required :identification,
|
|
1534
|
+
-> {
|
|
1535
|
+
Increase::Entity::Trust::Trustee::Individual::Identification
|
|
1536
|
+
},
|
|
1537
|
+
nil?: true
|
|
1533
1538
|
|
|
1534
1539
|
# @!attribute name
|
|
1535
1540
|
# The person's legal name.
|
|
@@ -1545,7 +1550,7 @@ module Increase
|
|
|
1545
1550
|
#
|
|
1546
1551
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
1547
1552
|
#
|
|
1548
|
-
# @param identification [Increase::Models::Entity::Trust::Trustee::Individual::Identification] A means of verifying the person's identity.
|
|
1553
|
+
# @param identification [Increase::Models::Entity::Trust::Trustee::Individual::Identification, nil] A means of verifying the person's identity.
|
|
1549
1554
|
#
|
|
1550
1555
|
# @param name [String] The person's legal name.
|
|
1551
1556
|
|
|
@@ -99,8 +99,12 @@ module Increase
|
|
|
99
99
|
# @!attribute identification
|
|
100
100
|
# A means of verifying the person's identity.
|
|
101
101
|
#
|
|
102
|
-
# @return [Increase::Models::EntityBeneficialOwner::Individual::Identification]
|
|
103
|
-
required :identification,
|
|
102
|
+
# @return [Increase::Models::EntityBeneficialOwner::Individual::Identification, nil]
|
|
103
|
+
required :identification,
|
|
104
|
+
-> {
|
|
105
|
+
Increase::EntityBeneficialOwner::Individual::Identification
|
|
106
|
+
},
|
|
107
|
+
nil?: true
|
|
104
108
|
|
|
105
109
|
# @!attribute name
|
|
106
110
|
# The person's legal name.
|
|
@@ -115,7 +119,7 @@ module Increase
|
|
|
115
119
|
#
|
|
116
120
|
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
117
121
|
#
|
|
118
|
-
# @param identification [Increase::Models::EntityBeneficialOwner::Individual::Identification] A means of verifying the person's identity.
|
|
122
|
+
# @param identification [Increase::Models::EntityBeneficialOwner::Individual::Identification, nil] A means of verifying the person's identity.
|
|
119
123
|
#
|
|
120
124
|
# @param name [String] The person's legal name.
|
|
121
125
|
|
|
@@ -334,13 +334,28 @@ module Increase
|
|
|
334
334
|
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Address, nil]
|
|
335
335
|
optional :address, -> { Increase::EntityUpdateParams::NaturalPerson::Address }
|
|
336
336
|
|
|
337
|
+
# @!attribute confirmed_no_us_tax_id
|
|
338
|
+
# The identification method for an individual can only be a passport, driver's
|
|
339
|
+
# license, or other document if you've confirmed the individual does not have a US
|
|
340
|
+
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
341
|
+
# Number).
|
|
342
|
+
#
|
|
343
|
+
# @return [Boolean, nil]
|
|
344
|
+
optional :confirmed_no_us_tax_id, Increase::Internal::Type::Boolean
|
|
345
|
+
|
|
346
|
+
# @!attribute identification
|
|
347
|
+
# A means of verifying the person's identity.
|
|
348
|
+
#
|
|
349
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification, nil]
|
|
350
|
+
optional :identification, -> { Increase::EntityUpdateParams::NaturalPerson::Identification }
|
|
351
|
+
|
|
337
352
|
# @!attribute name
|
|
338
353
|
# The legal name of the natural person.
|
|
339
354
|
#
|
|
340
355
|
# @return [String, nil]
|
|
341
356
|
optional :name, String
|
|
342
357
|
|
|
343
|
-
# @!method initialize(address: nil, name: nil)
|
|
358
|
+
# @!method initialize(address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil)
|
|
344
359
|
# Some parameter documentations has been truncated, see
|
|
345
360
|
# {Increase::Models::EntityUpdateParams::NaturalPerson} for more details.
|
|
346
361
|
#
|
|
@@ -349,6 +364,10 @@ module Increase
|
|
|
349
364
|
#
|
|
350
365
|
# @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
351
366
|
#
|
|
367
|
+
# @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic
|
|
368
|
+
#
|
|
369
|
+
# @param identification [Increase::Models::EntityUpdateParams::NaturalPerson::Identification] A means of verifying the person's identity.
|
|
370
|
+
#
|
|
352
371
|
# @param name [String] The legal name of the natural person.
|
|
353
372
|
|
|
354
373
|
# @see Increase::Models::EntityUpdateParams::NaturalPerson#address
|
|
@@ -409,6 +428,216 @@ module Increase
|
|
|
409
428
|
#
|
|
410
429
|
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
411
430
|
end
|
|
431
|
+
|
|
432
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson#identification
|
|
433
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
434
|
+
# @!attribute method_
|
|
435
|
+
# A method that can be used to verify the individual's identity.
|
|
436
|
+
#
|
|
437
|
+
# @return [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method]
|
|
438
|
+
required :method_,
|
|
439
|
+
enum: -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Method },
|
|
440
|
+
api_name: :method
|
|
441
|
+
|
|
442
|
+
# @!attribute number
|
|
443
|
+
# An identification number that can be used to verify the individual's identity,
|
|
444
|
+
# such as a social security number.
|
|
445
|
+
#
|
|
446
|
+
# @return [String]
|
|
447
|
+
required :number, String
|
|
448
|
+
|
|
449
|
+
# @!attribute drivers_license
|
|
450
|
+
# Information about the United States driver's license used for identification.
|
|
451
|
+
# Required if `method` is equal to `drivers_license`.
|
|
452
|
+
#
|
|
453
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense, nil]
|
|
454
|
+
optional :drivers_license,
|
|
455
|
+
-> { Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense }
|
|
456
|
+
|
|
457
|
+
# @!attribute other
|
|
458
|
+
# Information about the identification document provided. Required if `method` is
|
|
459
|
+
# equal to `other`.
|
|
460
|
+
#
|
|
461
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other, nil]
|
|
462
|
+
optional :other, -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Other }
|
|
463
|
+
|
|
464
|
+
# @!attribute passport
|
|
465
|
+
# Information about the passport used for identification. Required if `method` is
|
|
466
|
+
# equal to `passport`.
|
|
467
|
+
#
|
|
468
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport, nil]
|
|
469
|
+
optional :passport, -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Passport }
|
|
470
|
+
|
|
471
|
+
# @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
|
|
472
|
+
# Some parameter documentations has been truncated, see
|
|
473
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification} for more
|
|
474
|
+
# details.
|
|
475
|
+
#
|
|
476
|
+
# A means of verifying the person's identity.
|
|
477
|
+
#
|
|
478
|
+
# @param method_ [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity.
|
|
479
|
+
#
|
|
480
|
+
# @param number [String] An identification number that can be used to verify the individual's identity, s
|
|
481
|
+
#
|
|
482
|
+
# @param drivers_license [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense] Information about the United States driver's license used for identification. Re
|
|
483
|
+
#
|
|
484
|
+
# @param other [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other] Information about the identification document provided. Required if `method` is
|
|
485
|
+
#
|
|
486
|
+
# @param passport [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport] Information about the passport used for identification. Required if `method` is
|
|
487
|
+
|
|
488
|
+
# A method that can be used to verify the individual's identity.
|
|
489
|
+
#
|
|
490
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#method_
|
|
491
|
+
module Method
|
|
492
|
+
extend Increase::Internal::Type::Enum
|
|
493
|
+
|
|
494
|
+
# A social security number.
|
|
495
|
+
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
496
|
+
|
|
497
|
+
# An individual taxpayer identification number (ITIN).
|
|
498
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
499
|
+
|
|
500
|
+
# A passport number.
|
|
501
|
+
PASSPORT = :passport
|
|
502
|
+
|
|
503
|
+
# A driver's license number.
|
|
504
|
+
DRIVERS_LICENSE = :drivers_license
|
|
505
|
+
|
|
506
|
+
# Another identifying document.
|
|
507
|
+
OTHER = :other
|
|
508
|
+
|
|
509
|
+
# @!method self.values
|
|
510
|
+
# @return [Array<Symbol>]
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#drivers_license
|
|
514
|
+
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
515
|
+
# @!attribute expiration_date
|
|
516
|
+
# The driver's license's expiration date in YYYY-MM-DD format.
|
|
517
|
+
#
|
|
518
|
+
# @return [Date]
|
|
519
|
+
required :expiration_date, Date
|
|
520
|
+
|
|
521
|
+
# @!attribute file_id
|
|
522
|
+
# The identifier of the File containing the front of the driver's license.
|
|
523
|
+
#
|
|
524
|
+
# @return [String]
|
|
525
|
+
required :file_id, String
|
|
526
|
+
|
|
527
|
+
# @!attribute state
|
|
528
|
+
# The state that issued the provided driver's license.
|
|
529
|
+
#
|
|
530
|
+
# @return [String]
|
|
531
|
+
required :state, String
|
|
532
|
+
|
|
533
|
+
# @!attribute back_file_id
|
|
534
|
+
# The identifier of the File containing the back of the driver's license.
|
|
535
|
+
#
|
|
536
|
+
# @return [String, nil]
|
|
537
|
+
optional :back_file_id, String
|
|
538
|
+
|
|
539
|
+
# @!method initialize(expiration_date:, file_id:, state:, back_file_id: nil)
|
|
540
|
+
# Information about the United States driver's license used for identification.
|
|
541
|
+
# Required if `method` is equal to `drivers_license`.
|
|
542
|
+
#
|
|
543
|
+
# @param expiration_date [Date] The driver's license's expiration date in YYYY-MM-DD format.
|
|
544
|
+
#
|
|
545
|
+
# @param file_id [String] The identifier of the File containing the front of the driver's license.
|
|
546
|
+
#
|
|
547
|
+
# @param state [String] The state that issued the provided driver's license.
|
|
548
|
+
#
|
|
549
|
+
# @param back_file_id [String] The identifier of the File containing the back of the driver's license.
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#other
|
|
553
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
554
|
+
# @!attribute country
|
|
555
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
556
|
+
# document (e.g., `US`).
|
|
557
|
+
#
|
|
558
|
+
# @return [String]
|
|
559
|
+
required :country, String
|
|
560
|
+
|
|
561
|
+
# @!attribute description
|
|
562
|
+
# A description of the document submitted.
|
|
563
|
+
#
|
|
564
|
+
# @return [String]
|
|
565
|
+
required :description, String
|
|
566
|
+
|
|
567
|
+
# @!attribute file_id
|
|
568
|
+
# The identifier of the File containing the front of the document.
|
|
569
|
+
#
|
|
570
|
+
# @return [String]
|
|
571
|
+
required :file_id, String
|
|
572
|
+
|
|
573
|
+
# @!attribute back_file_id
|
|
574
|
+
# The identifier of the File containing the back of the document. Not every
|
|
575
|
+
# document has a reverse side.
|
|
576
|
+
#
|
|
577
|
+
# @return [String, nil]
|
|
578
|
+
optional :back_file_id, String
|
|
579
|
+
|
|
580
|
+
# @!attribute expiration_date
|
|
581
|
+
# The document's expiration date in YYYY-MM-DD format.
|
|
582
|
+
#
|
|
583
|
+
# @return [Date, nil]
|
|
584
|
+
optional :expiration_date, Date
|
|
585
|
+
|
|
586
|
+
# @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil)
|
|
587
|
+
# Some parameter documentations has been truncated, see
|
|
588
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other} for
|
|
589
|
+
# more details.
|
|
590
|
+
#
|
|
591
|
+
# Information about the identification document provided. Required if `method` is
|
|
592
|
+
# equal to `other`.
|
|
593
|
+
#
|
|
594
|
+
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
|
|
595
|
+
#
|
|
596
|
+
# @param description [String] A description of the document submitted.
|
|
597
|
+
#
|
|
598
|
+
# @param file_id [String] The identifier of the File containing the front of the document.
|
|
599
|
+
#
|
|
600
|
+
# @param back_file_id [String] The identifier of the File containing the back of the document. Not every docume
|
|
601
|
+
#
|
|
602
|
+
# @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format.
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#passport
|
|
606
|
+
class Passport < Increase::Internal::Type::BaseModel
|
|
607
|
+
# @!attribute country
|
|
608
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
609
|
+
# document (e.g., `US`).
|
|
610
|
+
#
|
|
611
|
+
# @return [String]
|
|
612
|
+
required :country, String
|
|
613
|
+
|
|
614
|
+
# @!attribute expiration_date
|
|
615
|
+
# The passport's expiration date in YYYY-MM-DD format.
|
|
616
|
+
#
|
|
617
|
+
# @return [Date]
|
|
618
|
+
required :expiration_date, Date
|
|
619
|
+
|
|
620
|
+
# @!attribute file_id
|
|
621
|
+
# The identifier of the File containing the passport.
|
|
622
|
+
#
|
|
623
|
+
# @return [String]
|
|
624
|
+
required :file_id, String
|
|
625
|
+
|
|
626
|
+
# @!method initialize(country:, expiration_date:, file_id:)
|
|
627
|
+
# Some parameter documentations has been truncated, see
|
|
628
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport}
|
|
629
|
+
# for more details.
|
|
630
|
+
#
|
|
631
|
+
# Information about the passport used for identification. Required if `method` is
|
|
632
|
+
# equal to `passport`.
|
|
633
|
+
#
|
|
634
|
+
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
|
|
635
|
+
#
|
|
636
|
+
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
|
|
637
|
+
#
|
|
638
|
+
# @param file_id [String] The identifier of the File containing the passport.
|
|
639
|
+
end
|
|
640
|
+
end
|
|
412
641
|
end
|
|
413
642
|
|
|
414
643
|
class RiskRating < Increase::Internal::Type::BaseModel
|
data/lib/increase/version.rb
CHANGED
|
@@ -562,7 +562,9 @@ module Increase
|
|
|
562
562
|
# A means of verifying the person's identity.
|
|
563
563
|
sig do
|
|
564
564
|
returns(
|
|
565
|
-
|
|
565
|
+
T.nilable(
|
|
566
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification
|
|
567
|
+
)
|
|
566
568
|
)
|
|
567
569
|
end
|
|
568
570
|
attr_reader :identification
|
|
@@ -570,7 +572,9 @@ module Increase
|
|
|
570
572
|
sig do
|
|
571
573
|
params(
|
|
572
574
|
identification:
|
|
573
|
-
|
|
575
|
+
T.nilable(
|
|
576
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::OrHash
|
|
577
|
+
)
|
|
574
578
|
).void
|
|
575
579
|
end
|
|
576
580
|
attr_writer :identification
|
|
@@ -586,7 +590,9 @@ module Increase
|
|
|
586
590
|
Increase::Entity::Corporation::BeneficialOwner::Individual::Address::OrHash,
|
|
587
591
|
date_of_birth: Date,
|
|
588
592
|
identification:
|
|
589
|
-
|
|
593
|
+
T.nilable(
|
|
594
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::OrHash
|
|
595
|
+
),
|
|
590
596
|
name: String
|
|
591
597
|
).returns(T.attached_class)
|
|
592
598
|
end
|
|
@@ -609,7 +615,9 @@ module Increase
|
|
|
609
615
|
Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
610
616
|
date_of_birth: Date,
|
|
611
617
|
identification:
|
|
612
|
-
|
|
618
|
+
T.nilable(
|
|
619
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification
|
|
620
|
+
),
|
|
613
621
|
name: String
|
|
614
622
|
}
|
|
615
623
|
)
|
|
@@ -1260,13 +1268,19 @@ module Increase
|
|
|
1260
1268
|
attr_accessor :date_of_birth
|
|
1261
1269
|
|
|
1262
1270
|
# A means of verifying the person's identity.
|
|
1263
|
-
sig
|
|
1271
|
+
sig do
|
|
1272
|
+
returns(
|
|
1273
|
+
T.nilable(Increase::Entity::Joint::Individual::Identification)
|
|
1274
|
+
)
|
|
1275
|
+
end
|
|
1264
1276
|
attr_reader :identification
|
|
1265
1277
|
|
|
1266
1278
|
sig do
|
|
1267
1279
|
params(
|
|
1268
1280
|
identification:
|
|
1269
|
-
|
|
1281
|
+
T.nilable(
|
|
1282
|
+
Increase::Entity::Joint::Individual::Identification::OrHash
|
|
1283
|
+
)
|
|
1270
1284
|
).void
|
|
1271
1285
|
end
|
|
1272
1286
|
attr_writer :identification
|
|
@@ -1280,7 +1294,9 @@ module Increase
|
|
|
1280
1294
|
address: Increase::Entity::Joint::Individual::Address::OrHash,
|
|
1281
1295
|
date_of_birth: Date,
|
|
1282
1296
|
identification:
|
|
1283
|
-
|
|
1297
|
+
T.nilable(
|
|
1298
|
+
Increase::Entity::Joint::Individual::Identification::OrHash
|
|
1299
|
+
),
|
|
1284
1300
|
name: String
|
|
1285
1301
|
).returns(T.attached_class)
|
|
1286
1302
|
end
|
|
@@ -1302,7 +1318,9 @@ module Increase
|
|
|
1302
1318
|
address: Increase::Entity::Joint::Individual::Address,
|
|
1303
1319
|
date_of_birth: Date,
|
|
1304
1320
|
identification:
|
|
1305
|
-
|
|
1321
|
+
T.nilable(
|
|
1322
|
+
Increase::Entity::Joint::Individual::Identification
|
|
1323
|
+
),
|
|
1306
1324
|
name: String
|
|
1307
1325
|
}
|
|
1308
1326
|
)
|
|
@@ -1521,13 +1539,15 @@ module Increase
|
|
|
1521
1539
|
attr_accessor :date_of_birth
|
|
1522
1540
|
|
|
1523
1541
|
# A means of verifying the person's identity.
|
|
1524
|
-
sig
|
|
1542
|
+
sig do
|
|
1543
|
+
returns(T.nilable(Increase::Entity::NaturalPerson::Identification))
|
|
1544
|
+
end
|
|
1525
1545
|
attr_reader :identification
|
|
1526
1546
|
|
|
1527
1547
|
sig do
|
|
1528
1548
|
params(
|
|
1529
1549
|
identification:
|
|
1530
|
-
Increase::Entity::NaturalPerson::Identification::OrHash
|
|
1550
|
+
T.nilable(Increase::Entity::NaturalPerson::Identification::OrHash)
|
|
1531
1551
|
).void
|
|
1532
1552
|
end
|
|
1533
1553
|
attr_writer :identification
|
|
@@ -1543,7 +1563,9 @@ module Increase
|
|
|
1543
1563
|
address: Increase::Entity::NaturalPerson::Address::OrHash,
|
|
1544
1564
|
date_of_birth: Date,
|
|
1545
1565
|
identification:
|
|
1546
|
-
|
|
1566
|
+
T.nilable(
|
|
1567
|
+
Increase::Entity::NaturalPerson::Identification::OrHash
|
|
1568
|
+
),
|
|
1547
1569
|
name: String
|
|
1548
1570
|
).returns(T.attached_class)
|
|
1549
1571
|
end
|
|
@@ -1564,7 +1586,8 @@ module Increase
|
|
|
1564
1586
|
{
|
|
1565
1587
|
address: Increase::Entity::NaturalPerson::Address,
|
|
1566
1588
|
date_of_birth: Date,
|
|
1567
|
-
identification:
|
|
1589
|
+
identification:
|
|
1590
|
+
T.nilable(Increase::Entity::NaturalPerson::Identification),
|
|
1568
1591
|
name: String
|
|
1569
1592
|
}
|
|
1570
1593
|
)
|
|
@@ -2272,13 +2295,17 @@ module Increase
|
|
|
2272
2295
|
attr_accessor :date_of_birth
|
|
2273
2296
|
|
|
2274
2297
|
# A means of verifying the person's identity.
|
|
2275
|
-
sig
|
|
2298
|
+
sig do
|
|
2299
|
+
returns(T.nilable(Increase::Entity::Trust::Grantor::Identification))
|
|
2300
|
+
end
|
|
2276
2301
|
attr_reader :identification
|
|
2277
2302
|
|
|
2278
2303
|
sig do
|
|
2279
2304
|
params(
|
|
2280
2305
|
identification:
|
|
2281
|
-
|
|
2306
|
+
T.nilable(
|
|
2307
|
+
Increase::Entity::Trust::Grantor::Identification::OrHash
|
|
2308
|
+
)
|
|
2282
2309
|
).void
|
|
2283
2310
|
end
|
|
2284
2311
|
attr_writer :identification
|
|
@@ -2293,7 +2320,9 @@ module Increase
|
|
|
2293
2320
|
address: Increase::Entity::Trust::Grantor::Address::OrHash,
|
|
2294
2321
|
date_of_birth: Date,
|
|
2295
2322
|
identification:
|
|
2296
|
-
|
|
2323
|
+
T.nilable(
|
|
2324
|
+
Increase::Entity::Trust::Grantor::Identification::OrHash
|
|
2325
|
+
),
|
|
2297
2326
|
name: String
|
|
2298
2327
|
).returns(T.attached_class)
|
|
2299
2328
|
end
|
|
@@ -2315,7 +2344,7 @@ module Increase
|
|
|
2315
2344
|
address: Increase::Entity::Trust::Grantor::Address,
|
|
2316
2345
|
date_of_birth: Date,
|
|
2317
2346
|
identification:
|
|
2318
|
-
Increase::Entity::Trust::Grantor::Identification,
|
|
2347
|
+
T.nilable(Increase::Entity::Trust::Grantor::Identification),
|
|
2319
2348
|
name: String
|
|
2320
2349
|
}
|
|
2321
2350
|
)
|
|
@@ -2602,7 +2631,9 @@ module Increase
|
|
|
2602
2631
|
# A means of verifying the person's identity.
|
|
2603
2632
|
sig do
|
|
2604
2633
|
returns(
|
|
2605
|
-
|
|
2634
|
+
T.nilable(
|
|
2635
|
+
Increase::Entity::Trust::Trustee::Individual::Identification
|
|
2636
|
+
)
|
|
2606
2637
|
)
|
|
2607
2638
|
end
|
|
2608
2639
|
attr_reader :identification
|
|
@@ -2610,7 +2641,9 @@ module Increase
|
|
|
2610
2641
|
sig do
|
|
2611
2642
|
params(
|
|
2612
2643
|
identification:
|
|
2613
|
-
|
|
2644
|
+
T.nilable(
|
|
2645
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::OrHash
|
|
2646
|
+
)
|
|
2614
2647
|
).void
|
|
2615
2648
|
end
|
|
2616
2649
|
attr_writer :identification
|
|
@@ -2627,7 +2660,9 @@ module Increase
|
|
|
2627
2660
|
Increase::Entity::Trust::Trustee::Individual::Address::OrHash,
|
|
2628
2661
|
date_of_birth: Date,
|
|
2629
2662
|
identification:
|
|
2630
|
-
|
|
2663
|
+
T.nilable(
|
|
2664
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::OrHash
|
|
2665
|
+
),
|
|
2631
2666
|
name: String
|
|
2632
2667
|
).returns(T.attached_class)
|
|
2633
2668
|
end
|
|
@@ -2650,7 +2685,9 @@ module Increase
|
|
|
2650
2685
|
Increase::Entity::Trust::Trustee::Individual::Address,
|
|
2651
2686
|
date_of_birth: Date,
|
|
2652
2687
|
identification:
|
|
2653
|
-
|
|
2688
|
+
T.nilable(
|
|
2689
|
+
Increase::Entity::Trust::Trustee::Individual::Identification
|
|
2690
|
+
),
|
|
2654
2691
|
name: String
|
|
2655
2692
|
}
|
|
2656
2693
|
)
|