increase 1.270.0 → 1.273.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 +183 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +1 -2
- data/lib/increase/models/entity.rb +194 -100
- data/lib/increase/models/entity_create_params.rb +185 -99
- data/lib/increase/models/entity_update_params.rb +52 -36
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +283 -127
- data/rbi/increase/models/entity_create_params.rbi +299 -113
- data/rbi/increase/models/entity_update_params.rbi +70 -42
- data/sig/increase/models/entity.rbs +160 -89
- data/sig/increase/models/entity_create_params.rbs +145 -60
- data/sig/increase/models/entity_update_params.rbs +40 -22
- metadata +2 -2
|
@@ -151,52 +151,60 @@ module Increase
|
|
|
151
151
|
# @see Increase::Models::EntityUpdateParams::Corporation#address
|
|
152
152
|
class Address < Increase::Internal::Type::BaseModel
|
|
153
153
|
# @!attribute city
|
|
154
|
-
# The city of the address.
|
|
154
|
+
# The city, district, town, or village of the address.
|
|
155
155
|
#
|
|
156
156
|
# @return [String]
|
|
157
157
|
required :city, String
|
|
158
158
|
|
|
159
|
+
# @!attribute country
|
|
160
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
161
|
+
#
|
|
162
|
+
# @return [String]
|
|
163
|
+
required :country, String
|
|
164
|
+
|
|
159
165
|
# @!attribute line1
|
|
160
166
|
# The first line of the address. This is usually the street number and street.
|
|
161
167
|
#
|
|
162
168
|
# @return [String]
|
|
163
169
|
required :line1, String
|
|
164
170
|
|
|
165
|
-
# @!attribute
|
|
166
|
-
# The
|
|
167
|
-
# the address.
|
|
171
|
+
# @!attribute line2
|
|
172
|
+
# The second line of the address. This might be the floor or room number.
|
|
168
173
|
#
|
|
169
|
-
# @return [String]
|
|
170
|
-
|
|
174
|
+
# @return [String, nil]
|
|
175
|
+
optional :line2, String
|
|
171
176
|
|
|
172
|
-
# @!attribute
|
|
173
|
-
# The
|
|
177
|
+
# @!attribute state
|
|
178
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
179
|
+
# state, province, or region of the address. Required in certain countries.
|
|
174
180
|
#
|
|
175
|
-
# @return [String]
|
|
176
|
-
|
|
181
|
+
# @return [String, nil]
|
|
182
|
+
optional :state, String
|
|
177
183
|
|
|
178
|
-
# @!attribute
|
|
179
|
-
# The
|
|
184
|
+
# @!attribute zip
|
|
185
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
180
186
|
#
|
|
181
187
|
# @return [String, nil]
|
|
182
|
-
optional :
|
|
188
|
+
optional :zip, String
|
|
183
189
|
|
|
184
|
-
# @!method initialize(city:, line1:, state
|
|
190
|
+
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
185
191
|
# Some parameter documentations has been truncated, see
|
|
186
192
|
# {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
|
|
187
193
|
#
|
|
188
194
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
189
195
|
# are disallowed.
|
|
190
196
|
#
|
|
191
|
-
# @param city [String] The city of the address.
|
|
197
|
+
# @param city [String] The city, district, town, or village of the address.
|
|
198
|
+
#
|
|
199
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
192
200
|
#
|
|
193
201
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
194
202
|
#
|
|
195
|
-
# @param
|
|
203
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
196
204
|
#
|
|
197
|
-
# @param
|
|
205
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
198
206
|
#
|
|
199
|
-
# @param
|
|
207
|
+
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
200
208
|
end
|
|
201
209
|
end
|
|
202
210
|
|
|
@@ -306,52 +314,60 @@ module Increase
|
|
|
306
314
|
# @see Increase::Models::EntityUpdateParams::NaturalPerson#address
|
|
307
315
|
class Address < Increase::Internal::Type::BaseModel
|
|
308
316
|
# @!attribute city
|
|
309
|
-
# The city of the address.
|
|
317
|
+
# The city, district, town, or village of the address.
|
|
310
318
|
#
|
|
311
319
|
# @return [String]
|
|
312
320
|
required :city, String
|
|
313
321
|
|
|
322
|
+
# @!attribute country
|
|
323
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
324
|
+
#
|
|
325
|
+
# @return [String]
|
|
326
|
+
required :country, String
|
|
327
|
+
|
|
314
328
|
# @!attribute line1
|
|
315
329
|
# The first line of the address. This is usually the street number and street.
|
|
316
330
|
#
|
|
317
331
|
# @return [String]
|
|
318
332
|
required :line1, String
|
|
319
333
|
|
|
320
|
-
# @!attribute
|
|
321
|
-
# The
|
|
322
|
-
# the address.
|
|
334
|
+
# @!attribute line2
|
|
335
|
+
# The second line of the address. This might be the floor or room number.
|
|
323
336
|
#
|
|
324
|
-
# @return [String]
|
|
325
|
-
|
|
337
|
+
# @return [String, nil]
|
|
338
|
+
optional :line2, String
|
|
326
339
|
|
|
327
|
-
# @!attribute
|
|
328
|
-
# The
|
|
340
|
+
# @!attribute state
|
|
341
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
342
|
+
# state, province, or region of the address. Required in certain countries.
|
|
329
343
|
#
|
|
330
|
-
# @return [String]
|
|
331
|
-
|
|
344
|
+
# @return [String, nil]
|
|
345
|
+
optional :state, String
|
|
332
346
|
|
|
333
|
-
# @!attribute
|
|
334
|
-
# The
|
|
347
|
+
# @!attribute zip
|
|
348
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
335
349
|
#
|
|
336
350
|
# @return [String, nil]
|
|
337
|
-
optional :
|
|
351
|
+
optional :zip, String
|
|
338
352
|
|
|
339
|
-
# @!method initialize(city:, line1:, state
|
|
353
|
+
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
340
354
|
# Some parameter documentations has been truncated, see
|
|
341
355
|
# {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
|
|
342
356
|
#
|
|
343
357
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
344
358
|
# are disallowed.
|
|
345
359
|
#
|
|
346
|
-
# @param city [String] The city of the address.
|
|
360
|
+
# @param city [String] The city, district, town, or village of the address.
|
|
361
|
+
#
|
|
362
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
347
363
|
#
|
|
348
364
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
349
365
|
#
|
|
350
|
-
# @param
|
|
366
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
351
367
|
#
|
|
352
|
-
# @param
|
|
368
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
353
369
|
#
|
|
354
|
-
# @param
|
|
370
|
+
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
355
371
|
end
|
|
356
372
|
end
|
|
357
373
|
|
data/lib/increase/version.rb
CHANGED