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.
@@ -55,7 +55,7 @@ module Increase
55
55
  {
56
56
  address: Increase::EntityBeneficialOwner::Individual::Address,
57
57
  date_of_birth: Date,
58
- identification: Increase::EntityBeneficialOwner::Individual::Identification,
58
+ identification: Increase::EntityBeneficialOwner::Individual::Identification?,
59
59
  name: String
60
60
  }
61
61
 
@@ -64,21 +64,21 @@ module Increase
64
64
 
65
65
  attr_accessor date_of_birth: Date
66
66
 
67
- attr_accessor identification: Increase::EntityBeneficialOwner::Individual::Identification
67
+ attr_accessor identification: Increase::EntityBeneficialOwner::Individual::Identification?
68
68
 
69
69
  attr_accessor name: String
70
70
 
71
71
  def initialize: (
72
72
  address: Increase::EntityBeneficialOwner::Individual::Address,
73
73
  date_of_birth: Date,
74
- identification: Increase::EntityBeneficialOwner::Individual::Identification,
74
+ identification: Increase::EntityBeneficialOwner::Individual::Identification?,
75
75
  name: String
76
76
  ) -> void
77
77
 
78
78
  def to_hash: -> {
79
79
  address: Increase::EntityBeneficialOwner::Individual::Address,
80
80
  date_of_birth: Date,
81
- identification: Increase::EntityBeneficialOwner::Individual::Identification,
81
+ identification: Increase::EntityBeneficialOwner::Individual::Identification?,
82
82
  name: String
83
83
  }
84
84
 
@@ -299,6 +299,8 @@ module Increase
299
299
  type natural_person =
300
300
  {
301
301
  address: Increase::EntityUpdateParams::NaturalPerson::Address,
302
+ confirmed_no_us_tax_id: bool,
303
+ identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
302
304
  name: String
303
305
  }
304
306
 
@@ -309,17 +311,31 @@ module Increase
309
311
  Increase::EntityUpdateParams::NaturalPerson::Address
310
312
  ) -> Increase::EntityUpdateParams::NaturalPerson::Address
311
313
 
314
+ attr_reader confirmed_no_us_tax_id: bool?
315
+
316
+ def confirmed_no_us_tax_id=: (bool) -> bool
317
+
318
+ attr_reader identification: Increase::EntityUpdateParams::NaturalPerson::Identification?
319
+
320
+ def identification=: (
321
+ Increase::EntityUpdateParams::NaturalPerson::Identification
322
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Identification
323
+
312
324
  attr_reader name: String?
313
325
 
314
326
  def name=: (String) -> String
315
327
 
316
328
  def initialize: (
317
329
  ?address: Increase::EntityUpdateParams::NaturalPerson::Address,
330
+ ?confirmed_no_us_tax_id: bool,
331
+ ?identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
318
332
  ?name: String
319
333
  ) -> void
320
334
 
321
335
  def to_hash: -> {
322
336
  address: Increase::EntityUpdateParams::NaturalPerson::Address,
337
+ confirmed_no_us_tax_id: bool,
338
+ identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
323
339
  name: String
324
340
  }
325
341
 
@@ -370,6 +386,181 @@ module Increase
370
386
  zip: String
371
387
  }
372
388
  end
389
+
390
+ type identification =
391
+ {
392
+ method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
393
+ number: String,
394
+ drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
395
+ other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
396
+ passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
397
+ }
398
+
399
+ class Identification < Increase::Internal::Type::BaseModel
400
+ attr_accessor method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_
401
+
402
+ attr_accessor number: String
403
+
404
+ attr_reader drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense?
405
+
406
+ def drivers_license=: (
407
+ Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense
408
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense
409
+
410
+ attr_reader other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other?
411
+
412
+ def other=: (
413
+ Increase::EntityUpdateParams::NaturalPerson::Identification::Other
414
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Identification::Other
415
+
416
+ attr_reader passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport?
417
+
418
+ def passport=: (
419
+ Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
420
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
421
+
422
+ def initialize: (
423
+ method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
424
+ number: String,
425
+ ?drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
426
+ ?other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
427
+ ?passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
428
+ ) -> void
429
+
430
+ def to_hash: -> {
431
+ method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
432
+ number: String,
433
+ drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
434
+ other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
435
+ passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
436
+ }
437
+
438
+ type method_ =
439
+ :social_security_number
440
+ | :individual_taxpayer_identification_number
441
+ | :passport
442
+ | :drivers_license
443
+ | :other
444
+
445
+ module Method
446
+ extend Increase::Internal::Type::Enum
447
+
448
+ # A social security number.
449
+ SOCIAL_SECURITY_NUMBER: :social_security_number
450
+
451
+ # An individual taxpayer identification number (ITIN).
452
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
453
+
454
+ # A passport number.
455
+ PASSPORT: :passport
456
+
457
+ # A driver's license number.
458
+ DRIVERS_LICENSE: :drivers_license
459
+
460
+ # Another identifying document.
461
+ OTHER: :other
462
+
463
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_]
464
+ end
465
+
466
+ type drivers_license =
467
+ {
468
+ expiration_date: Date,
469
+ file_id: String,
470
+ state: String,
471
+ back_file_id: String
472
+ }
473
+
474
+ class DriversLicense < Increase::Internal::Type::BaseModel
475
+ attr_accessor expiration_date: Date
476
+
477
+ attr_accessor file_id: String
478
+
479
+ attr_accessor state: String
480
+
481
+ attr_reader back_file_id: String?
482
+
483
+ def back_file_id=: (String) -> String
484
+
485
+ def initialize: (
486
+ expiration_date: Date,
487
+ file_id: String,
488
+ state: String,
489
+ ?back_file_id: String
490
+ ) -> void
491
+
492
+ def to_hash: -> {
493
+ expiration_date: Date,
494
+ file_id: String,
495
+ state: String,
496
+ back_file_id: String
497
+ }
498
+ end
499
+
500
+ type other =
501
+ {
502
+ country: String,
503
+ description: String,
504
+ file_id: String,
505
+ back_file_id: String,
506
+ expiration_date: Date
507
+ }
508
+
509
+ class Other < Increase::Internal::Type::BaseModel
510
+ attr_accessor country: String
511
+
512
+ attr_accessor description: String
513
+
514
+ attr_accessor file_id: String
515
+
516
+ attr_reader back_file_id: String?
517
+
518
+ def back_file_id=: (String) -> String
519
+
520
+ attr_reader expiration_date: Date?
521
+
522
+ def expiration_date=: (Date) -> Date
523
+
524
+ def initialize: (
525
+ country: String,
526
+ description: String,
527
+ file_id: String,
528
+ ?back_file_id: String,
529
+ ?expiration_date: Date
530
+ ) -> void
531
+
532
+ def to_hash: -> {
533
+ country: String,
534
+ description: String,
535
+ file_id: String,
536
+ back_file_id: String,
537
+ expiration_date: Date
538
+ }
539
+ end
540
+
541
+ type passport =
542
+ { country: String, expiration_date: Date, file_id: String }
543
+
544
+ class Passport < Increase::Internal::Type::BaseModel
545
+ attr_accessor country: String
546
+
547
+ attr_accessor expiration_date: Date
548
+
549
+ attr_accessor file_id: String
550
+
551
+ def initialize: (
552
+ country: String,
553
+ expiration_date: Date,
554
+ file_id: String
555
+ ) -> void
556
+
557
+ def to_hash: -> {
558
+ country: String,
559
+ expiration_date: Date,
560
+ file_id: String
561
+ }
562
+ end
563
+ end
373
564
  end
374
565
 
375
566
  type risk_rating =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.289.0
4
+ version: 1.291.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-11 00:00:00.000000000 Z
11
+ date: 2026-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi