increase 1.342.0 → 1.343.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/README.md +1 -1
- data/lib/increase/models/beneficial_owner_create_params.rb +9 -12
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -12
- data/lib/increase/models/entity_create_params.rb +54 -72
- data/lib/increase/models/entity_update_params.rb +18 -24
- data/lib/increase/models/file.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +8 -13
- data/rbi/increase/models/beneficial_owner_update_params.rbi +8 -13
- data/rbi/increase/models/entity_create_params.rbi +48 -78
- data/rbi/increase/models/entity_update_params.rbi +16 -26
- data/rbi/increase/models/file.rbi +3 -1
- data/sig/increase/models/beneficial_owner_create_params.rbs +5 -7
- data/sig/increase/models/beneficial_owner_update_params.rbs +5 -7
- data/sig/increase/models/entity_create_params.rbs +30 -42
- data/sig/increase/models/entity_update_params.rbs +10 -14
- metadata +2 -2
|
@@ -477,18 +477,14 @@ module Increase
|
|
|
477
477
|
sig { returns(String) }
|
|
478
478
|
attr_accessor :city
|
|
479
479
|
|
|
480
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
481
|
+
sig { returns(String) }
|
|
482
|
+
attr_accessor :country
|
|
483
|
+
|
|
480
484
|
# The first line of the address. This is usually the street number and street.
|
|
481
485
|
sig { returns(String) }
|
|
482
486
|
attr_accessor :line1
|
|
483
487
|
|
|
484
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
485
|
-
# to `US`.
|
|
486
|
-
sig { returns(T.nilable(String)) }
|
|
487
|
-
attr_reader :country
|
|
488
|
-
|
|
489
|
-
sig { params(country: String).void }
|
|
490
|
-
attr_writer :country
|
|
491
|
-
|
|
492
488
|
# The second line of the address. This might be the floor or room number.
|
|
493
489
|
sig { returns(T.nilable(String)) }
|
|
494
490
|
attr_reader :line2
|
|
@@ -516,8 +512,8 @@ module Increase
|
|
|
516
512
|
sig do
|
|
517
513
|
params(
|
|
518
514
|
city: String,
|
|
519
|
-
line1: String,
|
|
520
515
|
country: String,
|
|
516
|
+
line1: String,
|
|
521
517
|
line2: String,
|
|
522
518
|
state: String,
|
|
523
519
|
zip: String
|
|
@@ -526,11 +522,10 @@ module Increase
|
|
|
526
522
|
def self.new(
|
|
527
523
|
# The city, district, town, or village of the address.
|
|
528
524
|
city:,
|
|
525
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
526
|
+
country:,
|
|
529
527
|
# The first line of the address. This is usually the street number and street.
|
|
530
528
|
line1:,
|
|
531
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
532
|
-
# to `US`.
|
|
533
|
-
country: nil,
|
|
534
529
|
# The second line of the address. This might be the floor or room number.
|
|
535
530
|
line2: nil,
|
|
536
531
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -545,8 +540,8 @@ module Increase
|
|
|
545
540
|
override.returns(
|
|
546
541
|
{
|
|
547
542
|
city: String,
|
|
548
|
-
line1: String,
|
|
549
543
|
country: String,
|
|
544
|
+
line1: String,
|
|
550
545
|
line2: String,
|
|
551
546
|
state: String,
|
|
552
547
|
zip: String
|
|
@@ -759,18 +754,14 @@ module Increase
|
|
|
759
754
|
sig { returns(String) }
|
|
760
755
|
attr_accessor :city
|
|
761
756
|
|
|
757
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
758
|
+
sig { returns(String) }
|
|
759
|
+
attr_accessor :country
|
|
760
|
+
|
|
762
761
|
# The first line of the address. This is usually the street number and street.
|
|
763
762
|
sig { returns(String) }
|
|
764
763
|
attr_accessor :line1
|
|
765
764
|
|
|
766
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
767
|
-
# to `US`.
|
|
768
|
-
sig { returns(T.nilable(String)) }
|
|
769
|
-
attr_reader :country
|
|
770
|
-
|
|
771
|
-
sig { params(country: String).void }
|
|
772
|
-
attr_writer :country
|
|
773
|
-
|
|
774
765
|
# The second line of the address. This might be the floor or room number.
|
|
775
766
|
sig { returns(T.nilable(String)) }
|
|
776
767
|
attr_reader :line2
|
|
@@ -798,8 +789,8 @@ module Increase
|
|
|
798
789
|
sig do
|
|
799
790
|
params(
|
|
800
791
|
city: String,
|
|
801
|
-
line1: String,
|
|
802
792
|
country: String,
|
|
793
|
+
line1: String,
|
|
803
794
|
line2: String,
|
|
804
795
|
state: String,
|
|
805
796
|
zip: String
|
|
@@ -808,11 +799,10 @@ module Increase
|
|
|
808
799
|
def self.new(
|
|
809
800
|
# The city, district, town, or village of the address.
|
|
810
801
|
city:,
|
|
802
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
803
|
+
country:,
|
|
811
804
|
# The first line of the address. This is usually the street number and street.
|
|
812
805
|
line1:,
|
|
813
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
814
|
-
# to `US`.
|
|
815
|
-
country: nil,
|
|
816
806
|
# The second line of the address. This might be the floor or room number.
|
|
817
807
|
line2: nil,
|
|
818
808
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -827,8 +817,8 @@ module Increase
|
|
|
827
817
|
override.returns(
|
|
828
818
|
{
|
|
829
819
|
city: String,
|
|
830
|
-
line1: String,
|
|
831
820
|
country: String,
|
|
821
|
+
line1: String,
|
|
832
822
|
line2: String,
|
|
833
823
|
state: String,
|
|
834
824
|
zip: String
|
|
@@ -1854,18 +1844,14 @@ module Increase
|
|
|
1854
1844
|
sig { returns(String) }
|
|
1855
1845
|
attr_accessor :city
|
|
1856
1846
|
|
|
1847
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1848
|
+
sig { returns(String) }
|
|
1849
|
+
attr_accessor :country
|
|
1850
|
+
|
|
1857
1851
|
# The first line of the address. This is usually the street number and street.
|
|
1858
1852
|
sig { returns(String) }
|
|
1859
1853
|
attr_accessor :line1
|
|
1860
1854
|
|
|
1861
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
1862
|
-
# to `US`.
|
|
1863
|
-
sig { returns(T.nilable(String)) }
|
|
1864
|
-
attr_reader :country
|
|
1865
|
-
|
|
1866
|
-
sig { params(country: String).void }
|
|
1867
|
-
attr_writer :country
|
|
1868
|
-
|
|
1869
1855
|
# The second line of the address. This might be the floor or room number.
|
|
1870
1856
|
sig { returns(T.nilable(String)) }
|
|
1871
1857
|
attr_reader :line2
|
|
@@ -1893,8 +1879,8 @@ module Increase
|
|
|
1893
1879
|
sig do
|
|
1894
1880
|
params(
|
|
1895
1881
|
city: String,
|
|
1896
|
-
line1: String,
|
|
1897
1882
|
country: String,
|
|
1883
|
+
line1: String,
|
|
1898
1884
|
line2: String,
|
|
1899
1885
|
state: String,
|
|
1900
1886
|
zip: String
|
|
@@ -1903,11 +1889,10 @@ module Increase
|
|
|
1903
1889
|
def self.new(
|
|
1904
1890
|
# The city, district, town, or village of the address.
|
|
1905
1891
|
city:,
|
|
1892
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1893
|
+
country:,
|
|
1906
1894
|
# The first line of the address. This is usually the street number and street.
|
|
1907
1895
|
line1:,
|
|
1908
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
1909
|
-
# to `US`.
|
|
1910
|
-
country: nil,
|
|
1911
1896
|
# The second line of the address. This might be the floor or room number.
|
|
1912
1897
|
line2: nil,
|
|
1913
1898
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -1922,8 +1907,8 @@ module Increase
|
|
|
1922
1907
|
override.returns(
|
|
1923
1908
|
{
|
|
1924
1909
|
city: String,
|
|
1925
|
-
line1: String,
|
|
1926
1910
|
country: String,
|
|
1911
|
+
line1: String,
|
|
1927
1912
|
line2: String,
|
|
1928
1913
|
state: String,
|
|
1929
1914
|
zip: String
|
|
@@ -2440,18 +2425,14 @@ module Increase
|
|
|
2440
2425
|
sig { returns(String) }
|
|
2441
2426
|
attr_accessor :city
|
|
2442
2427
|
|
|
2428
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2429
|
+
sig { returns(String) }
|
|
2430
|
+
attr_accessor :country
|
|
2431
|
+
|
|
2443
2432
|
# The first line of the address. This is usually the street number and street.
|
|
2444
2433
|
sig { returns(String) }
|
|
2445
2434
|
attr_accessor :line1
|
|
2446
2435
|
|
|
2447
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
2448
|
-
# to `US`.
|
|
2449
|
-
sig { returns(T.nilable(String)) }
|
|
2450
|
-
attr_reader :country
|
|
2451
|
-
|
|
2452
|
-
sig { params(country: String).void }
|
|
2453
|
-
attr_writer :country
|
|
2454
|
-
|
|
2455
2436
|
# The second line of the address. This might be the floor or room number.
|
|
2456
2437
|
sig { returns(T.nilable(String)) }
|
|
2457
2438
|
attr_reader :line2
|
|
@@ -2479,8 +2460,8 @@ module Increase
|
|
|
2479
2460
|
sig do
|
|
2480
2461
|
params(
|
|
2481
2462
|
city: String,
|
|
2482
|
-
line1: String,
|
|
2483
2463
|
country: String,
|
|
2464
|
+
line1: String,
|
|
2484
2465
|
line2: String,
|
|
2485
2466
|
state: String,
|
|
2486
2467
|
zip: String
|
|
@@ -2489,11 +2470,10 @@ module Increase
|
|
|
2489
2470
|
def self.new(
|
|
2490
2471
|
# The city, district, town, or village of the address.
|
|
2491
2472
|
city:,
|
|
2473
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2474
|
+
country:,
|
|
2492
2475
|
# The first line of the address. This is usually the street number and street.
|
|
2493
2476
|
line1:,
|
|
2494
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
2495
|
-
# to `US`.
|
|
2496
|
-
country: nil,
|
|
2497
2477
|
# The second line of the address. This might be the floor or room number.
|
|
2498
2478
|
line2: nil,
|
|
2499
2479
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -2508,8 +2488,8 @@ module Increase
|
|
|
2508
2488
|
override.returns(
|
|
2509
2489
|
{
|
|
2510
2490
|
city: String,
|
|
2511
|
-
line1: String,
|
|
2512
2491
|
country: String,
|
|
2492
|
+
line1: String,
|
|
2513
2493
|
line2: String,
|
|
2514
2494
|
state: String,
|
|
2515
2495
|
zip: String
|
|
@@ -3638,18 +3618,14 @@ module Increase
|
|
|
3638
3618
|
sig { returns(String) }
|
|
3639
3619
|
attr_accessor :city
|
|
3640
3620
|
|
|
3621
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3622
|
+
sig { returns(String) }
|
|
3623
|
+
attr_accessor :country
|
|
3624
|
+
|
|
3641
3625
|
# The first line of the address. This is usually the street number and street.
|
|
3642
3626
|
sig { returns(String) }
|
|
3643
3627
|
attr_accessor :line1
|
|
3644
3628
|
|
|
3645
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
3646
|
-
# to `US`.
|
|
3647
|
-
sig { returns(T.nilable(String)) }
|
|
3648
|
-
attr_reader :country
|
|
3649
|
-
|
|
3650
|
-
sig { params(country: String).void }
|
|
3651
|
-
attr_writer :country
|
|
3652
|
-
|
|
3653
3629
|
# The second line of the address. This might be the floor or room number.
|
|
3654
3630
|
sig { returns(T.nilable(String)) }
|
|
3655
3631
|
attr_reader :line2
|
|
@@ -3677,8 +3653,8 @@ module Increase
|
|
|
3677
3653
|
sig do
|
|
3678
3654
|
params(
|
|
3679
3655
|
city: String,
|
|
3680
|
-
line1: String,
|
|
3681
3656
|
country: String,
|
|
3657
|
+
line1: String,
|
|
3682
3658
|
line2: String,
|
|
3683
3659
|
state: String,
|
|
3684
3660
|
zip: String
|
|
@@ -3687,11 +3663,10 @@ module Increase
|
|
|
3687
3663
|
def self.new(
|
|
3688
3664
|
# The city, district, town, or village of the address.
|
|
3689
3665
|
city:,
|
|
3666
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3667
|
+
country:,
|
|
3690
3668
|
# The first line of the address. This is usually the street number and street.
|
|
3691
3669
|
line1:,
|
|
3692
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
3693
|
-
# to `US`.
|
|
3694
|
-
country: nil,
|
|
3695
3670
|
# The second line of the address. This might be the floor or room number.
|
|
3696
3671
|
line2: nil,
|
|
3697
3672
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -3706,8 +3681,8 @@ module Increase
|
|
|
3706
3681
|
override.returns(
|
|
3707
3682
|
{
|
|
3708
3683
|
city: String,
|
|
3709
|
-
line1: String,
|
|
3710
3684
|
country: String,
|
|
3685
|
+
line1: String,
|
|
3711
3686
|
line2: String,
|
|
3712
3687
|
state: String,
|
|
3713
3688
|
zip: String
|
|
@@ -4223,18 +4198,14 @@ module Increase
|
|
|
4223
4198
|
sig { returns(String) }
|
|
4224
4199
|
attr_accessor :city
|
|
4225
4200
|
|
|
4201
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4202
|
+
sig { returns(String) }
|
|
4203
|
+
attr_accessor :country
|
|
4204
|
+
|
|
4226
4205
|
# The first line of the address. This is usually the street number and street.
|
|
4227
4206
|
sig { returns(String) }
|
|
4228
4207
|
attr_accessor :line1
|
|
4229
4208
|
|
|
4230
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
4231
|
-
# to `US`.
|
|
4232
|
-
sig { returns(T.nilable(String)) }
|
|
4233
|
-
attr_reader :country
|
|
4234
|
-
|
|
4235
|
-
sig { params(country: String).void }
|
|
4236
|
-
attr_writer :country
|
|
4237
|
-
|
|
4238
4209
|
# The second line of the address. This might be the floor or room number.
|
|
4239
4210
|
sig { returns(T.nilable(String)) }
|
|
4240
4211
|
attr_reader :line2
|
|
@@ -4262,8 +4233,8 @@ module Increase
|
|
|
4262
4233
|
sig do
|
|
4263
4234
|
params(
|
|
4264
4235
|
city: String,
|
|
4265
|
-
line1: String,
|
|
4266
4236
|
country: String,
|
|
4237
|
+
line1: String,
|
|
4267
4238
|
line2: String,
|
|
4268
4239
|
state: String,
|
|
4269
4240
|
zip: String
|
|
@@ -4272,11 +4243,10 @@ module Increase
|
|
|
4272
4243
|
def self.new(
|
|
4273
4244
|
# The city, district, town, or village of the address.
|
|
4274
4245
|
city:,
|
|
4246
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4247
|
+
country:,
|
|
4275
4248
|
# The first line of the address. This is usually the street number and street.
|
|
4276
4249
|
line1:,
|
|
4277
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
4278
|
-
# to `US`.
|
|
4279
|
-
country: nil,
|
|
4280
4250
|
# The second line of the address. This might be the floor or room number.
|
|
4281
4251
|
line2: nil,
|
|
4282
4252
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -4291,8 +4261,8 @@ module Increase
|
|
|
4291
4261
|
override.returns(
|
|
4292
4262
|
{
|
|
4293
4263
|
city: String,
|
|
4294
|
-
line1: String,
|
|
4295
4264
|
country: String,
|
|
4265
|
+
line1: String,
|
|
4296
4266
|
line2: String,
|
|
4297
4267
|
state: String,
|
|
4298
4268
|
zip: String
|
|
@@ -341,18 +341,14 @@ module Increase
|
|
|
341
341
|
sig { returns(String) }
|
|
342
342
|
attr_accessor :city
|
|
343
343
|
|
|
344
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
345
|
+
sig { returns(String) }
|
|
346
|
+
attr_accessor :country
|
|
347
|
+
|
|
344
348
|
# The first line of the address. This is usually the street number and street.
|
|
345
349
|
sig { returns(String) }
|
|
346
350
|
attr_accessor :line1
|
|
347
351
|
|
|
348
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
349
|
-
# to `US`.
|
|
350
|
-
sig { returns(T.nilable(String)) }
|
|
351
|
-
attr_reader :country
|
|
352
|
-
|
|
353
|
-
sig { params(country: String).void }
|
|
354
|
-
attr_writer :country
|
|
355
|
-
|
|
356
352
|
# The second line of the address. This might be the floor or room number.
|
|
357
353
|
sig { returns(T.nilable(String)) }
|
|
358
354
|
attr_reader :line2
|
|
@@ -380,8 +376,8 @@ module Increase
|
|
|
380
376
|
sig do
|
|
381
377
|
params(
|
|
382
378
|
city: String,
|
|
383
|
-
line1: String,
|
|
384
379
|
country: String,
|
|
380
|
+
line1: String,
|
|
385
381
|
line2: String,
|
|
386
382
|
state: String,
|
|
387
383
|
zip: String
|
|
@@ -390,11 +386,10 @@ module Increase
|
|
|
390
386
|
def self.new(
|
|
391
387
|
# The city, district, town, or village of the address.
|
|
392
388
|
city:,
|
|
389
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
390
|
+
country:,
|
|
393
391
|
# The first line of the address. This is usually the street number and street.
|
|
394
392
|
line1:,
|
|
395
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
396
|
-
# to `US`.
|
|
397
|
-
country: nil,
|
|
398
393
|
# The second line of the address. This might be the floor or room number.
|
|
399
394
|
line2: nil,
|
|
400
395
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -409,8 +404,8 @@ module Increase
|
|
|
409
404
|
override.returns(
|
|
410
405
|
{
|
|
411
406
|
city: String,
|
|
412
|
-
line1: String,
|
|
413
407
|
country: String,
|
|
408
|
+
line1: String,
|
|
414
409
|
line2: String,
|
|
415
410
|
state: String,
|
|
416
411
|
zip: String
|
|
@@ -779,18 +774,14 @@ module Increase
|
|
|
779
774
|
sig { returns(String) }
|
|
780
775
|
attr_accessor :city
|
|
781
776
|
|
|
777
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
778
|
+
sig { returns(String) }
|
|
779
|
+
attr_accessor :country
|
|
780
|
+
|
|
782
781
|
# The first line of the address. This is usually the street number and street.
|
|
783
782
|
sig { returns(String) }
|
|
784
783
|
attr_accessor :line1
|
|
785
784
|
|
|
786
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
787
|
-
# to `US`.
|
|
788
|
-
sig { returns(T.nilable(String)) }
|
|
789
|
-
attr_reader :country
|
|
790
|
-
|
|
791
|
-
sig { params(country: String).void }
|
|
792
|
-
attr_writer :country
|
|
793
|
-
|
|
794
785
|
# The second line of the address. This might be the floor or room number.
|
|
795
786
|
sig { returns(T.nilable(String)) }
|
|
796
787
|
attr_reader :line2
|
|
@@ -818,8 +809,8 @@ module Increase
|
|
|
818
809
|
sig do
|
|
819
810
|
params(
|
|
820
811
|
city: String,
|
|
821
|
-
line1: String,
|
|
822
812
|
country: String,
|
|
813
|
+
line1: String,
|
|
823
814
|
line2: String,
|
|
824
815
|
state: String,
|
|
825
816
|
zip: String
|
|
@@ -828,11 +819,10 @@ module Increase
|
|
|
828
819
|
def self.new(
|
|
829
820
|
# The city, district, town, or village of the address.
|
|
830
821
|
city:,
|
|
822
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
823
|
+
country:,
|
|
831
824
|
# The first line of the address. This is usually the street number and street.
|
|
832
825
|
line1:,
|
|
833
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
834
|
-
# to `US`.
|
|
835
|
-
country: nil,
|
|
836
826
|
# The second line of the address. This might be the floor or room number.
|
|
837
827
|
line2: nil,
|
|
838
828
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -847,8 +837,8 @@ module Increase
|
|
|
847
837
|
override.returns(
|
|
848
838
|
{
|
|
849
839
|
city: String,
|
|
850
|
-
line1: String,
|
|
851
840
|
country: String,
|
|
841
|
+
line1: String,
|
|
852
842
|
line2: String,
|
|
853
843
|
state: String,
|
|
854
844
|
zip: String
|
|
@@ -50,7 +50,9 @@ module Increase
|
|
|
50
50
|
# Files are objects that represent a file hosted on Increase's servers. The file
|
|
51
51
|
# may have been uploaded by you (for example, when uploading a check image) or it
|
|
52
52
|
# may have been created by Increase (for example, an autogenerated statement PDF).
|
|
53
|
-
# If you need to download a File,
|
|
53
|
+
# If you need to download a File, use the `/files/{file_id}/contents` endpoint. If
|
|
54
|
+
# you need to share a File with someone who doesn't have access to your API key,
|
|
55
|
+
# create a File Link.
|
|
54
56
|
sig do
|
|
55
57
|
params(
|
|
56
58
|
id: String,
|
|
@@ -80,8 +80,8 @@ module Increase
|
|
|
80
80
|
type address =
|
|
81
81
|
{
|
|
82
82
|
city: String,
|
|
83
|
-
:line1 => String,
|
|
84
83
|
country: String,
|
|
84
|
+
:line1 => String,
|
|
85
85
|
:line2 => String,
|
|
86
86
|
state: String,
|
|
87
87
|
zip: String
|
|
@@ -90,11 +90,9 @@ module Increase
|
|
|
90
90
|
class Address < Increase::Internal::Type::BaseModel
|
|
91
91
|
attr_accessor city: String
|
|
92
92
|
|
|
93
|
-
attr_accessor
|
|
94
|
-
|
|
95
|
-
attr_reader country: String?
|
|
93
|
+
attr_accessor country: String
|
|
96
94
|
|
|
97
|
-
|
|
95
|
+
attr_accessor line1: String
|
|
98
96
|
|
|
99
97
|
attr_reader line2: String?
|
|
100
98
|
|
|
@@ -110,8 +108,8 @@ module Increase
|
|
|
110
108
|
|
|
111
109
|
def initialize: (
|
|
112
110
|
city: String,
|
|
111
|
+
country: String,
|
|
113
112
|
line1: String,
|
|
114
|
-
?country: String,
|
|
115
113
|
?line2: String,
|
|
116
114
|
?state: String,
|
|
117
115
|
?zip: String
|
|
@@ -119,8 +117,8 @@ module Increase
|
|
|
119
117
|
|
|
120
118
|
def to_hash: -> {
|
|
121
119
|
city: String,
|
|
122
|
-
:line1 => String,
|
|
123
120
|
country: String,
|
|
121
|
+
:line1 => String,
|
|
124
122
|
:line2 => String,
|
|
125
123
|
state: String,
|
|
126
124
|
zip: String
|
|
@@ -66,8 +66,8 @@ module Increase
|
|
|
66
66
|
type address =
|
|
67
67
|
{
|
|
68
68
|
city: String,
|
|
69
|
-
:line1 => String,
|
|
70
69
|
country: String,
|
|
70
|
+
:line1 => String,
|
|
71
71
|
:line2 => String,
|
|
72
72
|
state: String,
|
|
73
73
|
zip: String
|
|
@@ -76,11 +76,9 @@ module Increase
|
|
|
76
76
|
class Address < Increase::Internal::Type::BaseModel
|
|
77
77
|
attr_accessor city: String
|
|
78
78
|
|
|
79
|
-
attr_accessor
|
|
80
|
-
|
|
81
|
-
attr_reader country: String?
|
|
79
|
+
attr_accessor country: String
|
|
82
80
|
|
|
83
|
-
|
|
81
|
+
attr_accessor line1: String
|
|
84
82
|
|
|
85
83
|
attr_reader line2: String?
|
|
86
84
|
|
|
@@ -96,8 +94,8 @@ module Increase
|
|
|
96
94
|
|
|
97
95
|
def initialize: (
|
|
98
96
|
city: String,
|
|
97
|
+
country: String,
|
|
99
98
|
line1: String,
|
|
100
|
-
?country: String,
|
|
101
99
|
?line2: String,
|
|
102
100
|
?state: String,
|
|
103
101
|
?zip: String
|
|
@@ -105,8 +103,8 @@ module Increase
|
|
|
105
103
|
|
|
106
104
|
def to_hash: -> {
|
|
107
105
|
city: String,
|
|
108
|
-
:line1 => String,
|
|
109
106
|
country: String,
|
|
107
|
+
:line1 => String,
|
|
110
108
|
:line2 => String,
|
|
111
109
|
state: String,
|
|
112
110
|
zip: String
|