increase 1.342.0 → 1.344.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/internal/transport/base_client.rb +5 -36
- 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/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -0
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/file.rb +3 -1
- data/lib/increase/models/file_contents_params.rb +22 -0
- data/lib/increase/models/unwrap_webhook_event.rb +6 -0
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/files.rb +28 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/internal/transport/base_client.rbi +2 -10
- 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/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/file.rbi +3 -1
- data/rbi/increase/models/file_contents_params.rbi +40 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/files.rbi +21 -0
- data/sig/increase/internal/transport/base_client.rbs +1 -4
- 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
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/file_contents_params.rbs +23 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/files.rbs +5 -0
- metadata +5 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Files#contents
|
|
6
|
+
class FileContentsParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute file_id
|
|
11
|
+
# The identifier of the File.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :file_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(file_id:, request_options: {})
|
|
17
|
+
# @param file_id [String] The identifier of the File.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -354,6 +354,12 @@ module Increase
|
|
|
354
354
|
# Occurs whenever a Physical Check is updated.
|
|
355
355
|
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"
|
|
356
356
|
|
|
357
|
+
# Occurs whenever a Physical Check Book is created.
|
|
358
|
+
PHYSICAL_CHECK_BOOK_CREATED = :"physical_check_book.created"
|
|
359
|
+
|
|
360
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
361
|
+
PHYSICAL_CHECK_BOOK_UPDATED = :"physical_check_book.updated"
|
|
362
|
+
|
|
357
363
|
# Occurs whenever a Program is created.
|
|
358
364
|
PROGRAM_CREATED = :"program.created"
|
|
359
365
|
|
data/lib/increase/models.rb
CHANGED
|
@@ -94,6 +94,34 @@ module Increase
|
|
|
94
94
|
)
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
# Download the contents of a File. Responds with a 307 redirect whose `Location`
|
|
98
|
+
# header points at a short-lived, pre-signed URL. Our
|
|
99
|
+
# [SDKs](/documentation/software-development-kits) follow the redirect and return
|
|
100
|
+
# the File's contents; if you call the API directly, follow the redirect to
|
|
101
|
+
# download it. The pre-signed URL serves the File with a `Content-Type` matching
|
|
102
|
+
# its `mime` and a `Content-Disposition` header set to its `filename`. It expires
|
|
103
|
+
# in 10 minutes. To share a File with someone who doesn't have access to your API
|
|
104
|
+
# key, create a File Link.
|
|
105
|
+
#
|
|
106
|
+
# @overload contents(file_id, request_options: {})
|
|
107
|
+
#
|
|
108
|
+
# @param file_id [String] The identifier of the File.
|
|
109
|
+
#
|
|
110
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
111
|
+
#
|
|
112
|
+
# @return [StringIO]
|
|
113
|
+
#
|
|
114
|
+
# @see Increase::Models::FileContentsParams
|
|
115
|
+
def contents(file_id, params = {})
|
|
116
|
+
@client.request(
|
|
117
|
+
method: :get,
|
|
118
|
+
path: ["files/%1$s/contents", file_id],
|
|
119
|
+
headers: {"accept" => "application/octet-stream"},
|
|
120
|
+
model: StringIO,
|
|
121
|
+
options: params[:request_options]
|
|
122
|
+
)
|
|
123
|
+
end
|
|
124
|
+
|
|
97
125
|
# @api private
|
|
98
126
|
#
|
|
99
127
|
# @param client [Increase::Client]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -189,6 +189,7 @@ require_relative "increase/models/fednow_transfer_create_params"
|
|
|
189
189
|
require_relative "increase/models/fednow_transfer_list_params"
|
|
190
190
|
require_relative "increase/models/fednow_transfer_retrieve_params"
|
|
191
191
|
require_relative "increase/models/file"
|
|
192
|
+
require_relative "increase/models/file_contents_params"
|
|
192
193
|
require_relative "increase/models/file_create_params"
|
|
193
194
|
require_relative "increase/models/file_link"
|
|
194
195
|
require_relative "increase/models/file_link_create_params"
|
|
@@ -70,8 +70,6 @@ module Increase
|
|
|
70
70
|
# from whatwg fetch spec
|
|
71
71
|
MAX_REDIRECTS = 20
|
|
72
72
|
|
|
73
|
-
PLATFORM_HEADERS = T::Hash[String, String]
|
|
74
|
-
|
|
75
73
|
class << self
|
|
76
74
|
# @api private
|
|
77
75
|
sig do
|
|
@@ -213,16 +211,10 @@ module Increase
|
|
|
213
211
|
params(
|
|
214
212
|
request: Increase::Internal::Transport::BaseClient::RequestInput,
|
|
215
213
|
redirect_count: Integer,
|
|
216
|
-
retry_count: Integer
|
|
217
|
-
send_retry_header: T::Boolean
|
|
214
|
+
retry_count: Integer
|
|
218
215
|
).returns([Integer, Net::HTTPResponse, T::Enumerable[String]])
|
|
219
216
|
end
|
|
220
|
-
def send_request(
|
|
221
|
-
request,
|
|
222
|
-
redirect_count:,
|
|
223
|
-
retry_count:,
|
|
224
|
-
send_retry_header:
|
|
225
|
-
)
|
|
217
|
+
def send_request(request, redirect_count:, retry_count:)
|
|
226
218
|
end
|
|
227
219
|
|
|
228
220
|
# Execute the request specified by `req`. This is the method that all resource
|
|
@@ -205,18 +205,14 @@ module Increase
|
|
|
205
205
|
sig { returns(String) }
|
|
206
206
|
attr_accessor :city
|
|
207
207
|
|
|
208
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
209
|
+
sig { returns(String) }
|
|
210
|
+
attr_accessor :country
|
|
211
|
+
|
|
208
212
|
# The first line of the address. This is usually the street number and street.
|
|
209
213
|
sig { returns(String) }
|
|
210
214
|
attr_accessor :line1
|
|
211
215
|
|
|
212
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
213
|
-
# to `US`.
|
|
214
|
-
sig { returns(T.nilable(String)) }
|
|
215
|
-
attr_reader :country
|
|
216
|
-
|
|
217
|
-
sig { params(country: String).void }
|
|
218
|
-
attr_writer :country
|
|
219
|
-
|
|
220
216
|
# The second line of the address. This might be the floor or room number.
|
|
221
217
|
sig { returns(T.nilable(String)) }
|
|
222
218
|
attr_reader :line2
|
|
@@ -244,8 +240,8 @@ module Increase
|
|
|
244
240
|
sig do
|
|
245
241
|
params(
|
|
246
242
|
city: String,
|
|
247
|
-
line1: String,
|
|
248
243
|
country: String,
|
|
244
|
+
line1: String,
|
|
249
245
|
line2: String,
|
|
250
246
|
state: String,
|
|
251
247
|
zip: String
|
|
@@ -254,11 +250,10 @@ module Increase
|
|
|
254
250
|
def self.new(
|
|
255
251
|
# The city, district, town, or village of the address.
|
|
256
252
|
city:,
|
|
253
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
254
|
+
country:,
|
|
257
255
|
# The first line of the address. This is usually the street number and street.
|
|
258
256
|
line1:,
|
|
259
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
260
|
-
# to `US`.
|
|
261
|
-
country: nil,
|
|
262
257
|
# The second line of the address. This might be the floor or room number.
|
|
263
258
|
line2: nil,
|
|
264
259
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -273,8 +268,8 @@ module Increase
|
|
|
273
268
|
override.returns(
|
|
274
269
|
{
|
|
275
270
|
city: String,
|
|
276
|
-
line1: String,
|
|
277
271
|
country: String,
|
|
272
|
+
line1: String,
|
|
278
273
|
line2: String,
|
|
279
274
|
state: String,
|
|
280
275
|
zip: String
|
|
@@ -152,18 +152,14 @@ module Increase
|
|
|
152
152
|
sig { returns(String) }
|
|
153
153
|
attr_accessor :city
|
|
154
154
|
|
|
155
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
156
|
+
sig { returns(String) }
|
|
157
|
+
attr_accessor :country
|
|
158
|
+
|
|
155
159
|
# The first line of the address. This is usually the street number and street.
|
|
156
160
|
sig { returns(String) }
|
|
157
161
|
attr_accessor :line1
|
|
158
162
|
|
|
159
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
160
|
-
# to `US`.
|
|
161
|
-
sig { returns(T.nilable(String)) }
|
|
162
|
-
attr_reader :country
|
|
163
|
-
|
|
164
|
-
sig { params(country: String).void }
|
|
165
|
-
attr_writer :country
|
|
166
|
-
|
|
167
163
|
# The second line of the address. This might be the floor or room number.
|
|
168
164
|
sig { returns(T.nilable(String)) }
|
|
169
165
|
attr_reader :line2
|
|
@@ -191,8 +187,8 @@ module Increase
|
|
|
191
187
|
sig do
|
|
192
188
|
params(
|
|
193
189
|
city: String,
|
|
194
|
-
line1: String,
|
|
195
190
|
country: String,
|
|
191
|
+
line1: String,
|
|
196
192
|
line2: String,
|
|
197
193
|
state: String,
|
|
198
194
|
zip: String
|
|
@@ -201,11 +197,10 @@ module Increase
|
|
|
201
197
|
def self.new(
|
|
202
198
|
# The city, district, town, or village of the address.
|
|
203
199
|
city:,
|
|
200
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
201
|
+
country:,
|
|
204
202
|
# The first line of the address. This is usually the street number and street.
|
|
205
203
|
line1:,
|
|
206
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
207
|
-
# to `US`.
|
|
208
|
-
country: nil,
|
|
209
204
|
# The second line of the address. This might be the floor or room number.
|
|
210
205
|
line2: nil,
|
|
211
206
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -220,8 +215,8 @@ module Increase
|
|
|
220
215
|
override.returns(
|
|
221
216
|
{
|
|
222
217
|
city: String,
|
|
223
|
-
line1: String,
|
|
224
218
|
country: String,
|
|
219
|
+
line1: String,
|
|
225
220
|
line2: String,
|
|
226
221
|
state: String,
|
|
227
222
|
zip: String
|
|
@@ -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
|