increase 1.68.0 → 1.70.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc8aab93315d0203954e1f0c7129520670091d1e171a4ad6fc68de313ec3cb95
4
- data.tar.gz: 8c11bd8734bf60cc0c4e7474d523a4593f13df0e5d7b93720ef4691c342bdcc4
3
+ metadata.gz: 9cd88adf310b4dd4346e9bf0bdabf14bb2c34a93c58cd3bba4ba79f09263c65a
4
+ data.tar.gz: d4c7ad4a986b1cebff6635685f844ddb5673c7acb5479a22d674272960264fbc
5
5
  SHA512:
6
- metadata.gz: 261a5d3eb5a9847637b3ce6e44e2328a1e380998b767efc38cf6f5d3b1bc55ea3d786ecddd0c579a5e6f45f89c3964670aa91d4b462b5976752d6c3edbcfd09e
7
- data.tar.gz: 7f17cf52ef82f0793b85d0c66214e135d04da5c355101f304a973198afd5de88922b253e73753b943d2fc22f98018523f458424a1be7e4dded3c118beb294edd
6
+ metadata.gz: d5eed4a74229d448e4fbae64a68f5a28cf3914b878ff302f7715c5dd474f35cfef11ad7bd6327f88d39a88ae5d510cd80edf06a3da45c0ea9a5f59fcf10fca9a
7
+ data.tar.gz: 61d60d64e2c7f41750ccdee4dccbcce4a45e66129c8ff178b9eb5ec606b813385f17989b83529f33ae70f10056422bce5d86e17309dec314b8d0258e09e1eabb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.70.0 (2025-09-08)
4
+
5
+ Full Changelog: [v1.69.0...v1.70.0](https://github.com/Increase/increase-ruby/compare/v1.69.0...v1.70.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([2bcd14c](https://github.com/Increase/increase-ruby/commit/2bcd14c3c9056a995fdc7dc4e96d48bb2c2f06f0))
10
+
11
+ ## 1.69.0 (2025-09-08)
12
+
13
+ Full Changelog: [v1.68.0...v1.69.0](https://github.com/Increase/increase-ruby/compare/v1.68.0...v1.69.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([02897b2](https://github.com/Increase/increase-ruby/commit/02897b2a6ead3059648d4be9cde81454c9a35eee))
18
+
3
19
  ## 1.68.0 (2025-09-07)
4
20
 
5
21
  Full Changelog: [v1.67.0...v1.68.0](https://github.com/Increase/increase-ruby/compare/v1.67.0...v1.68.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.68.0"
18
+ gem "increase", "~> 1.70.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -68,45 +68,246 @@ module Increase
68
68
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
69
69
 
70
70
  class Corporation < Increase::Internal::Type::BaseModel
71
+ # @!attribute address
72
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
73
+ # are disallowed.
74
+ #
75
+ # @return [Increase::Models::EntityUpdateParams::Corporation::Address, nil]
76
+ optional :address, -> { Increase::EntityUpdateParams::Corporation::Address }
77
+
78
+ # @!attribute industry_code
79
+ # The North American Industry Classification System (NAICS) code for the
80
+ # corporation's primary line of business. This is a number, like `5132` for
81
+ # `Software Publishers`. A full list of classification codes is available
82
+ # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
83
+ #
84
+ # @return [String, nil]
85
+ optional :industry_code, String
86
+
71
87
  # @!attribute name
72
88
  # The legal name of the corporation.
73
89
  #
74
90
  # @return [String, nil]
75
91
  optional :name, String
76
92
 
77
- # @!method initialize(name: nil)
93
+ # @!method initialize(address: nil, industry_code: nil, name: nil)
94
+ # Some parameter documentations has been truncated, see
95
+ # {Increase::Models::EntityUpdateParams::Corporation} for more details.
96
+ #
78
97
  # Details of the corporation entity to update. If you specify this parameter and
79
98
  # the entity is not a corporation, the request will fail.
80
99
  #
100
+ # @param address [Increase::Models::EntityUpdateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
101
+ #
102
+ # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
103
+ #
81
104
  # @param name [String] The legal name of the corporation.
105
+
106
+ # @see Increase::Models::EntityUpdateParams::Corporation#address
107
+ class Address < Increase::Internal::Type::BaseModel
108
+ # @!attribute city
109
+ # The city of the address.
110
+ #
111
+ # @return [String]
112
+ required :city, String
113
+
114
+ # @!attribute line1
115
+ # The first line of the address. This is usually the street number and street.
116
+ #
117
+ # @return [String]
118
+ required :line1, String
119
+
120
+ # @!attribute state
121
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
122
+ # the address.
123
+ #
124
+ # @return [String]
125
+ required :state, String
126
+
127
+ # @!attribute zip
128
+ # The ZIP code of the address.
129
+ #
130
+ # @return [String]
131
+ required :zip, String
132
+
133
+ # @!attribute line2
134
+ # The second line of the address. This might be the floor or room number.
135
+ #
136
+ # @return [String, nil]
137
+ optional :line2, String
138
+
139
+ # @!method initialize(city:, line1:, state:, zip:, line2: nil)
140
+ # Some parameter documentations has been truncated, see
141
+ # {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
142
+ #
143
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
144
+ # are disallowed.
145
+ #
146
+ # @param city [String] The city of the address.
147
+ #
148
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
149
+ #
150
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
151
+ #
152
+ # @param zip [String] The ZIP code of the address.
153
+ #
154
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
155
+ end
82
156
  end
83
157
 
84
158
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
159
+ # @!attribute address
160
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
161
+ # are disallowed.
162
+ #
163
+ # @return [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address, nil]
164
+ optional :address, -> { Increase::EntityUpdateParams::GovernmentAuthority::Address }
165
+
85
166
  # @!attribute name
86
167
  # The legal name of the government authority.
87
168
  #
88
169
  # @return [String, nil]
89
170
  optional :name, String
90
171
 
91
- # @!method initialize(name: nil)
172
+ # @!method initialize(address: nil, name: nil)
173
+ # Some parameter documentations has been truncated, see
174
+ # {Increase::Models::EntityUpdateParams::GovernmentAuthority} for more details.
175
+ #
92
176
  # Details of the government authority entity to update. If you specify this
93
177
  # parameter and the entity is not a government authority, the request will fail.
94
178
  #
179
+ # @param address [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
180
+ #
95
181
  # @param name [String] The legal name of the government authority.
182
+
183
+ # @see Increase::Models::EntityUpdateParams::GovernmentAuthority#address
184
+ class Address < Increase::Internal::Type::BaseModel
185
+ # @!attribute city
186
+ # The city of the address.
187
+ #
188
+ # @return [String]
189
+ required :city, String
190
+
191
+ # @!attribute line1
192
+ # The first line of the address. This is usually the street number and street.
193
+ #
194
+ # @return [String]
195
+ required :line1, String
196
+
197
+ # @!attribute state
198
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
199
+ # the address.
200
+ #
201
+ # @return [String]
202
+ required :state, String
203
+
204
+ # @!attribute zip
205
+ # The ZIP code of the address.
206
+ #
207
+ # @return [String]
208
+ required :zip, String
209
+
210
+ # @!attribute line2
211
+ # The second line of the address. This might be the floor or room number.
212
+ #
213
+ # @return [String, nil]
214
+ optional :line2, String
215
+
216
+ # @!method initialize(city:, line1:, state:, zip:, line2: nil)
217
+ # Some parameter documentations has been truncated, see
218
+ # {Increase::Models::EntityUpdateParams::GovernmentAuthority::Address} for more
219
+ # details.
220
+ #
221
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
222
+ # are disallowed.
223
+ #
224
+ # @param city [String] The city of the address.
225
+ #
226
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
227
+ #
228
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
229
+ #
230
+ # @param zip [String] The ZIP code of the address.
231
+ #
232
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
233
+ end
96
234
  end
97
235
 
98
236
  class NaturalPerson < Increase::Internal::Type::BaseModel
237
+ # @!attribute address
238
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
239
+ # are disallowed.
240
+ #
241
+ # @return [Increase::Models::EntityUpdateParams::NaturalPerson::Address, nil]
242
+ optional :address, -> { Increase::EntityUpdateParams::NaturalPerson::Address }
243
+
99
244
  # @!attribute name
100
245
  # The legal name of the natural person.
101
246
  #
102
247
  # @return [String, nil]
103
248
  optional :name, String
104
249
 
105
- # @!method initialize(name: nil)
250
+ # @!method initialize(address: nil, name: nil)
251
+ # Some parameter documentations has been truncated, see
252
+ # {Increase::Models::EntityUpdateParams::NaturalPerson} for more details.
253
+ #
106
254
  # Details of the natural person entity to update. If you specify this parameter
107
255
  # and the entity is not a natural person, the request will fail.
108
256
  #
257
+ # @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
258
+ #
109
259
  # @param name [String] The legal name of the natural person.
260
+
261
+ # @see Increase::Models::EntityUpdateParams::NaturalPerson#address
262
+ class Address < Increase::Internal::Type::BaseModel
263
+ # @!attribute city
264
+ # The city of the address.
265
+ #
266
+ # @return [String]
267
+ required :city, String
268
+
269
+ # @!attribute line1
270
+ # The first line of the address. This is usually the street number and street.
271
+ #
272
+ # @return [String]
273
+ required :line1, String
274
+
275
+ # @!attribute state
276
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
277
+ # the address.
278
+ #
279
+ # @return [String]
280
+ required :state, String
281
+
282
+ # @!attribute zip
283
+ # The ZIP code of the address.
284
+ #
285
+ # @return [String]
286
+ required :zip, String
287
+
288
+ # @!attribute line2
289
+ # The second line of the address. This might be the floor or room number.
290
+ #
291
+ # @return [String, nil]
292
+ optional :line2, String
293
+
294
+ # @!method initialize(city:, line1:, state:, zip:, line2: nil)
295
+ # Some parameter documentations has been truncated, see
296
+ # {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
297
+ #
298
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
299
+ # are disallowed.
300
+ #
301
+ # @param city [String] The city of the address.
302
+ #
303
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
304
+ #
305
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
306
+ #
307
+ # @param zip [String] The ZIP code of the address.
308
+ #
309
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
310
+ end
110
311
  end
111
312
 
112
313
  class RiskRating < Increase::Internal::Type::BaseModel
@@ -196,17 +397,80 @@ module Increase
196
397
  end
197
398
 
198
399
  class Trust < Increase::Internal::Type::BaseModel
400
+ # @!attribute address
401
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
402
+ # are disallowed.
403
+ #
404
+ # @return [Increase::Models::EntityUpdateParams::Trust::Address, nil]
405
+ optional :address, -> { Increase::EntityUpdateParams::Trust::Address }
406
+
199
407
  # @!attribute name
200
408
  # The legal name of the trust.
201
409
  #
202
410
  # @return [String, nil]
203
411
  optional :name, String
204
412
 
205
- # @!method initialize(name: nil)
413
+ # @!method initialize(address: nil, name: nil)
414
+ # Some parameter documentations has been truncated, see
415
+ # {Increase::Models::EntityUpdateParams::Trust} for more details.
416
+ #
206
417
  # Details of the trust entity to update. If you specify this parameter and the
207
418
  # entity is not a trust, the request will fail.
208
419
  #
420
+ # @param address [Increase::Models::EntityUpdateParams::Trust::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
421
+ #
209
422
  # @param name [String] The legal name of the trust.
423
+
424
+ # @see Increase::Models::EntityUpdateParams::Trust#address
425
+ class Address < Increase::Internal::Type::BaseModel
426
+ # @!attribute city
427
+ # The city of the address.
428
+ #
429
+ # @return [String]
430
+ required :city, String
431
+
432
+ # @!attribute line1
433
+ # The first line of the address. This is usually the street number and street.
434
+ #
435
+ # @return [String]
436
+ required :line1, String
437
+
438
+ # @!attribute state
439
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
440
+ # the address.
441
+ #
442
+ # @return [String]
443
+ required :state, String
444
+
445
+ # @!attribute zip
446
+ # The ZIP code of the address.
447
+ #
448
+ # @return [String]
449
+ required :zip, String
450
+
451
+ # @!attribute line2
452
+ # The second line of the address. This might be the floor or room number.
453
+ #
454
+ # @return [String, nil]
455
+ optional :line2, String
456
+
457
+ # @!method initialize(city:, line1:, state:, zip:, line2: nil)
458
+ # Some parameter documentations has been truncated, see
459
+ # {Increase::Models::EntityUpdateParams::Trust::Address} for more details.
460
+ #
461
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
462
+ # are disallowed.
463
+ #
464
+ # @param city [String] The city of the address.
465
+ #
466
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
467
+ #
468
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
469
+ #
470
+ # @param zip [String] The ZIP code of the address.
471
+ #
472
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
473
+ end
210
474
  end
211
475
  end
212
476
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.68.0"
4
+ VERSION = "1.70.0"
5
5
  end
@@ -148,6 +148,30 @@ module Increase
148
148
  )
149
149
  end
150
150
 
151
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
152
+ # are disallowed.
153
+ sig do
154
+ returns(T.nilable(Increase::EntityUpdateParams::Corporation::Address))
155
+ end
156
+ attr_reader :address
157
+
158
+ sig do
159
+ params(
160
+ address: Increase::EntityUpdateParams::Corporation::Address::OrHash
161
+ ).void
162
+ end
163
+ attr_writer :address
164
+
165
+ # The North American Industry Classification System (NAICS) code for the
166
+ # corporation's primary line of business. This is a number, like `5132` for
167
+ # `Software Publishers`. A full list of classification codes is available
168
+ # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
169
+ sig { returns(T.nilable(String)) }
170
+ attr_reader :industry_code
171
+
172
+ sig { params(industry_code: String).void }
173
+ attr_writer :industry_code
174
+
151
175
  # The legal name of the corporation.
152
176
  sig { returns(T.nilable(String)) }
153
177
  attr_reader :name
@@ -157,16 +181,112 @@ module Increase
157
181
 
158
182
  # Details of the corporation entity to update. If you specify this parameter and
159
183
  # the entity is not a corporation, the request will fail.
160
- sig { params(name: String).returns(T.attached_class) }
184
+ sig do
185
+ params(
186
+ address: Increase::EntityUpdateParams::Corporation::Address::OrHash,
187
+ industry_code: String,
188
+ name: String
189
+ ).returns(T.attached_class)
190
+ end
161
191
  def self.new(
192
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
193
+ # are disallowed.
194
+ address: nil,
195
+ # The North American Industry Classification System (NAICS) code for the
196
+ # corporation's primary line of business. This is a number, like `5132` for
197
+ # `Software Publishers`. A full list of classification codes is available
198
+ # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
199
+ industry_code: nil,
162
200
  # The legal name of the corporation.
163
201
  name: nil
164
202
  )
165
203
  end
166
204
 
167
- sig { override.returns({ name: String }) }
205
+ sig do
206
+ override.returns(
207
+ {
208
+ address: Increase::EntityUpdateParams::Corporation::Address,
209
+ industry_code: String,
210
+ name: String
211
+ }
212
+ )
213
+ end
168
214
  def to_hash
169
215
  end
216
+
217
+ class Address < Increase::Internal::Type::BaseModel
218
+ OrHash =
219
+ T.type_alias do
220
+ T.any(
221
+ Increase::EntityUpdateParams::Corporation::Address,
222
+ Increase::Internal::AnyHash
223
+ )
224
+ end
225
+
226
+ # The city of the address.
227
+ sig { returns(String) }
228
+ attr_accessor :city
229
+
230
+ # The first line of the address. This is usually the street number and street.
231
+ sig { returns(String) }
232
+ attr_accessor :line1
233
+
234
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
235
+ # the address.
236
+ sig { returns(String) }
237
+ attr_accessor :state
238
+
239
+ # The ZIP code of the address.
240
+ sig { returns(String) }
241
+ attr_accessor :zip
242
+
243
+ # The second line of the address. This might be the floor or room number.
244
+ sig { returns(T.nilable(String)) }
245
+ attr_reader :line2
246
+
247
+ sig { params(line2: String).void }
248
+ attr_writer :line2
249
+
250
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
251
+ # are disallowed.
252
+ sig do
253
+ params(
254
+ city: String,
255
+ line1: String,
256
+ state: String,
257
+ zip: String,
258
+ line2: String
259
+ ).returns(T.attached_class)
260
+ end
261
+ def self.new(
262
+ # The city of the address.
263
+ city:,
264
+ # The first line of the address. This is usually the street number and street.
265
+ line1:,
266
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
267
+ # the address.
268
+ state:,
269
+ # The ZIP code of the address.
270
+ zip:,
271
+ # The second line of the address. This might be the floor or room number.
272
+ line2: nil
273
+ )
274
+ end
275
+
276
+ sig do
277
+ override.returns(
278
+ {
279
+ city: String,
280
+ line1: String,
281
+ state: String,
282
+ zip: String,
283
+ line2: String
284
+ }
285
+ )
286
+ end
287
+ def to_hash
288
+ end
289
+ end
170
290
  end
171
291
 
172
292
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
@@ -178,6 +298,25 @@ module Increase
178
298
  )
179
299
  end
180
300
 
301
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
302
+ # are disallowed.
303
+ sig do
304
+ returns(
305
+ T.nilable(
306
+ Increase::EntityUpdateParams::GovernmentAuthority::Address
307
+ )
308
+ )
309
+ end
310
+ attr_reader :address
311
+
312
+ sig do
313
+ params(
314
+ address:
315
+ Increase::EntityUpdateParams::GovernmentAuthority::Address::OrHash
316
+ ).void
317
+ end
318
+ attr_writer :address
319
+
181
320
  # The legal name of the government authority.
182
321
  sig { returns(T.nilable(String)) }
183
322
  attr_reader :name
@@ -187,16 +326,107 @@ module Increase
187
326
 
188
327
  # Details of the government authority entity to update. If you specify this
189
328
  # parameter and the entity is not a government authority, the request will fail.
190
- sig { params(name: String).returns(T.attached_class) }
329
+ sig do
330
+ params(
331
+ address:
332
+ Increase::EntityUpdateParams::GovernmentAuthority::Address::OrHash,
333
+ name: String
334
+ ).returns(T.attached_class)
335
+ end
191
336
  def self.new(
337
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
338
+ # are disallowed.
339
+ address: nil,
192
340
  # The legal name of the government authority.
193
341
  name: nil
194
342
  )
195
343
  end
196
344
 
197
- sig { override.returns({ name: String }) }
345
+ sig do
346
+ override.returns(
347
+ {
348
+ address:
349
+ Increase::EntityUpdateParams::GovernmentAuthority::Address,
350
+ name: String
351
+ }
352
+ )
353
+ end
198
354
  def to_hash
199
355
  end
356
+
357
+ class Address < Increase::Internal::Type::BaseModel
358
+ OrHash =
359
+ T.type_alias do
360
+ T.any(
361
+ Increase::EntityUpdateParams::GovernmentAuthority::Address,
362
+ Increase::Internal::AnyHash
363
+ )
364
+ end
365
+
366
+ # The city of the address.
367
+ sig { returns(String) }
368
+ attr_accessor :city
369
+
370
+ # The first line of the address. This is usually the street number and street.
371
+ sig { returns(String) }
372
+ attr_accessor :line1
373
+
374
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
375
+ # the address.
376
+ sig { returns(String) }
377
+ attr_accessor :state
378
+
379
+ # The ZIP code of the address.
380
+ sig { returns(String) }
381
+ attr_accessor :zip
382
+
383
+ # The second line of the address. This might be the floor or room number.
384
+ sig { returns(T.nilable(String)) }
385
+ attr_reader :line2
386
+
387
+ sig { params(line2: String).void }
388
+ attr_writer :line2
389
+
390
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
391
+ # are disallowed.
392
+ sig do
393
+ params(
394
+ city: String,
395
+ line1: String,
396
+ state: String,
397
+ zip: String,
398
+ line2: String
399
+ ).returns(T.attached_class)
400
+ end
401
+ def self.new(
402
+ # The city of the address.
403
+ city:,
404
+ # The first line of the address. This is usually the street number and street.
405
+ line1:,
406
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
407
+ # the address.
408
+ state:,
409
+ # The ZIP code of the address.
410
+ zip:,
411
+ # The second line of the address. This might be the floor or room number.
412
+ line2: nil
413
+ )
414
+ end
415
+
416
+ sig do
417
+ override.returns(
418
+ {
419
+ city: String,
420
+ line1: String,
421
+ state: String,
422
+ zip: String,
423
+ line2: String
424
+ }
425
+ )
426
+ end
427
+ def to_hash
428
+ end
429
+ end
200
430
  end
201
431
 
202
432
  class NaturalPerson < Increase::Internal::Type::BaseModel
@@ -208,6 +438,23 @@ module Increase
208
438
  )
209
439
  end
210
440
 
441
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
442
+ # are disallowed.
443
+ sig do
444
+ returns(
445
+ T.nilable(Increase::EntityUpdateParams::NaturalPerson::Address)
446
+ )
447
+ end
448
+ attr_reader :address
449
+
450
+ sig do
451
+ params(
452
+ address:
453
+ Increase::EntityUpdateParams::NaturalPerson::Address::OrHash
454
+ ).void
455
+ end
456
+ attr_writer :address
457
+
211
458
  # The legal name of the natural person.
212
459
  sig { returns(T.nilable(String)) }
213
460
  attr_reader :name
@@ -217,16 +464,106 @@ module Increase
217
464
 
218
465
  # Details of the natural person entity to update. If you specify this parameter
219
466
  # and the entity is not a natural person, the request will fail.
220
- sig { params(name: String).returns(T.attached_class) }
467
+ sig do
468
+ params(
469
+ address:
470
+ Increase::EntityUpdateParams::NaturalPerson::Address::OrHash,
471
+ name: String
472
+ ).returns(T.attached_class)
473
+ end
221
474
  def self.new(
475
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
476
+ # are disallowed.
477
+ address: nil,
222
478
  # The legal name of the natural person.
223
479
  name: nil
224
480
  )
225
481
  end
226
482
 
227
- sig { override.returns({ name: String }) }
483
+ sig do
484
+ override.returns(
485
+ {
486
+ address: Increase::EntityUpdateParams::NaturalPerson::Address,
487
+ name: String
488
+ }
489
+ )
490
+ end
228
491
  def to_hash
229
492
  end
493
+
494
+ class Address < Increase::Internal::Type::BaseModel
495
+ OrHash =
496
+ T.type_alias do
497
+ T.any(
498
+ Increase::EntityUpdateParams::NaturalPerson::Address,
499
+ Increase::Internal::AnyHash
500
+ )
501
+ end
502
+
503
+ # The city of the address.
504
+ sig { returns(String) }
505
+ attr_accessor :city
506
+
507
+ # The first line of the address. This is usually the street number and street.
508
+ sig { returns(String) }
509
+ attr_accessor :line1
510
+
511
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
512
+ # the address.
513
+ sig { returns(String) }
514
+ attr_accessor :state
515
+
516
+ # The ZIP code of the address.
517
+ sig { returns(String) }
518
+ attr_accessor :zip
519
+
520
+ # The second line of the address. This might be the floor or room number.
521
+ sig { returns(T.nilable(String)) }
522
+ attr_reader :line2
523
+
524
+ sig { params(line2: String).void }
525
+ attr_writer :line2
526
+
527
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
528
+ # are disallowed.
529
+ sig do
530
+ params(
531
+ city: String,
532
+ line1: String,
533
+ state: String,
534
+ zip: String,
535
+ line2: String
536
+ ).returns(T.attached_class)
537
+ end
538
+ def self.new(
539
+ # The city of the address.
540
+ city:,
541
+ # The first line of the address. This is usually the street number and street.
542
+ line1:,
543
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
544
+ # the address.
545
+ state:,
546
+ # The ZIP code of the address.
547
+ zip:,
548
+ # The second line of the address. This might be the floor or room number.
549
+ line2: nil
550
+ )
551
+ end
552
+
553
+ sig do
554
+ override.returns(
555
+ {
556
+ city: String,
557
+ line1: String,
558
+ state: String,
559
+ zip: String,
560
+ line2: String
561
+ }
562
+ )
563
+ end
564
+ def to_hash
565
+ end
566
+ end
230
567
  end
231
568
 
232
569
  class RiskRating < Increase::Internal::Type::BaseModel
@@ -425,6 +762,18 @@ module Increase
425
762
  )
426
763
  end
427
764
 
765
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
766
+ # are disallowed.
767
+ sig { returns(T.nilable(Increase::EntityUpdateParams::Trust::Address)) }
768
+ attr_reader :address
769
+
770
+ sig do
771
+ params(
772
+ address: Increase::EntityUpdateParams::Trust::Address::OrHash
773
+ ).void
774
+ end
775
+ attr_writer :address
776
+
428
777
  # The legal name of the trust.
429
778
  sig { returns(T.nilable(String)) }
430
779
  attr_reader :name
@@ -434,16 +783,105 @@ module Increase
434
783
 
435
784
  # Details of the trust entity to update. If you specify this parameter and the
436
785
  # entity is not a trust, the request will fail.
437
- sig { params(name: String).returns(T.attached_class) }
786
+ sig do
787
+ params(
788
+ address: Increase::EntityUpdateParams::Trust::Address::OrHash,
789
+ name: String
790
+ ).returns(T.attached_class)
791
+ end
438
792
  def self.new(
793
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
794
+ # are disallowed.
795
+ address: nil,
439
796
  # The legal name of the trust.
440
797
  name: nil
441
798
  )
442
799
  end
443
800
 
444
- sig { override.returns({ name: String }) }
801
+ sig do
802
+ override.returns(
803
+ {
804
+ address: Increase::EntityUpdateParams::Trust::Address,
805
+ name: String
806
+ }
807
+ )
808
+ end
445
809
  def to_hash
446
810
  end
811
+
812
+ class Address < Increase::Internal::Type::BaseModel
813
+ OrHash =
814
+ T.type_alias do
815
+ T.any(
816
+ Increase::EntityUpdateParams::Trust::Address,
817
+ Increase::Internal::AnyHash
818
+ )
819
+ end
820
+
821
+ # The city of the address.
822
+ sig { returns(String) }
823
+ attr_accessor :city
824
+
825
+ # The first line of the address. This is usually the street number and street.
826
+ sig { returns(String) }
827
+ attr_accessor :line1
828
+
829
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
830
+ # the address.
831
+ sig { returns(String) }
832
+ attr_accessor :state
833
+
834
+ # The ZIP code of the address.
835
+ sig { returns(String) }
836
+ attr_accessor :zip
837
+
838
+ # The second line of the address. This might be the floor or room number.
839
+ sig { returns(T.nilable(String)) }
840
+ attr_reader :line2
841
+
842
+ sig { params(line2: String).void }
843
+ attr_writer :line2
844
+
845
+ # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
846
+ # are disallowed.
847
+ sig do
848
+ params(
849
+ city: String,
850
+ line1: String,
851
+ state: String,
852
+ zip: String,
853
+ line2: String
854
+ ).returns(T.attached_class)
855
+ end
856
+ def self.new(
857
+ # The city of the address.
858
+ city:,
859
+ # The first line of the address. This is usually the street number and street.
860
+ line1:,
861
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
862
+ # the address.
863
+ state:,
864
+ # The ZIP code of the address.
865
+ zip:,
866
+ # The second line of the address. This might be the floor or room number.
867
+ line2: nil
868
+ )
869
+ end
870
+
871
+ sig do
872
+ override.returns(
873
+ {
874
+ city: String,
875
+ line1: String,
876
+ state: String,
877
+ zip: String,
878
+ line2: String
879
+ }
880
+ )
881
+ end
882
+ def to_hash
883
+ end
884
+ end
447
885
  end
448
886
  end
449
887
  end
@@ -71,40 +71,212 @@ module Increase
71
71
  request_options: Increase::RequestOptions
72
72
  }
73
73
 
74
- type corporation = { name: String }
74
+ type corporation =
75
+ {
76
+ address: Increase::EntityUpdateParams::Corporation::Address,
77
+ industry_code: String,
78
+ name: String
79
+ }
75
80
 
76
81
  class Corporation < Increase::Internal::Type::BaseModel
82
+ attr_reader address: Increase::EntityUpdateParams::Corporation::Address?
83
+
84
+ def address=: (
85
+ Increase::EntityUpdateParams::Corporation::Address
86
+ ) -> Increase::EntityUpdateParams::Corporation::Address
87
+
88
+ attr_reader industry_code: String?
89
+
90
+ def industry_code=: (String) -> String
91
+
77
92
  attr_reader name: String?
78
93
 
79
94
  def name=: (String) -> String
80
95
 
81
- def initialize: (?name: String) -> void
96
+ def initialize: (
97
+ ?address: Increase::EntityUpdateParams::Corporation::Address,
98
+ ?industry_code: String,
99
+ ?name: String
100
+ ) -> void
101
+
102
+ def to_hash: -> {
103
+ address: Increase::EntityUpdateParams::Corporation::Address,
104
+ industry_code: String,
105
+ name: String
106
+ }
107
+
108
+ type address =
109
+ {
110
+ city: String,
111
+ :line1 => String,
112
+ state: String,
113
+ zip: String,
114
+ :line2 => String
115
+ }
116
+
117
+ class Address < Increase::Internal::Type::BaseModel
118
+ attr_accessor city: String
119
+
120
+ attr_accessor line1: String
121
+
122
+ attr_accessor state: String
123
+
124
+ attr_accessor zip: String
125
+
126
+ attr_reader line2: String?
127
+
128
+ def line2=: (String) -> String
82
129
 
83
- def to_hash: -> { name: String }
130
+ def initialize: (
131
+ city: String,
132
+ line1: String,
133
+ state: String,
134
+ zip: String,
135
+ ?line2: String
136
+ ) -> void
137
+
138
+ def to_hash: -> {
139
+ city: String,
140
+ :line1 => String,
141
+ state: String,
142
+ zip: String,
143
+ :line2 => String
144
+ }
145
+ end
84
146
  end
85
147
 
86
- type government_authority = { name: String }
148
+ type government_authority =
149
+ {
150
+ address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
151
+ name: String
152
+ }
87
153
 
88
154
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
155
+ attr_reader address: Increase::EntityUpdateParams::GovernmentAuthority::Address?
156
+
157
+ def address=: (
158
+ Increase::EntityUpdateParams::GovernmentAuthority::Address
159
+ ) -> Increase::EntityUpdateParams::GovernmentAuthority::Address
160
+
89
161
  attr_reader name: String?
90
162
 
91
163
  def name=: (String) -> String
92
164
 
93
- def initialize: (?name: String) -> void
165
+ def initialize: (
166
+ ?address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
167
+ ?name: String
168
+ ) -> void
169
+
170
+ def to_hash: -> {
171
+ address: Increase::EntityUpdateParams::GovernmentAuthority::Address,
172
+ name: String
173
+ }
174
+
175
+ type address =
176
+ {
177
+ city: String,
178
+ :line1 => String,
179
+ state: String,
180
+ zip: String,
181
+ :line2 => String
182
+ }
183
+
184
+ class Address < Increase::Internal::Type::BaseModel
185
+ attr_accessor city: String
186
+
187
+ attr_accessor line1: String
188
+
189
+ attr_accessor state: String
190
+
191
+ attr_accessor zip: String
192
+
193
+ attr_reader line2: String?
194
+
195
+ def line2=: (String) -> String
94
196
 
95
- def to_hash: -> { name: String }
197
+ def initialize: (
198
+ city: String,
199
+ line1: String,
200
+ state: String,
201
+ zip: String,
202
+ ?line2: String
203
+ ) -> void
204
+
205
+ def to_hash: -> {
206
+ city: String,
207
+ :line1 => String,
208
+ state: String,
209
+ zip: String,
210
+ :line2 => String
211
+ }
212
+ end
96
213
  end
97
214
 
98
- type natural_person = { name: String }
215
+ type natural_person =
216
+ {
217
+ address: Increase::EntityUpdateParams::NaturalPerson::Address,
218
+ name: String
219
+ }
99
220
 
100
221
  class NaturalPerson < Increase::Internal::Type::BaseModel
222
+ attr_reader address: Increase::EntityUpdateParams::NaturalPerson::Address?
223
+
224
+ def address=: (
225
+ Increase::EntityUpdateParams::NaturalPerson::Address
226
+ ) -> Increase::EntityUpdateParams::NaturalPerson::Address
227
+
101
228
  attr_reader name: String?
102
229
 
103
230
  def name=: (String) -> String
104
231
 
105
- def initialize: (?name: String) -> void
232
+ def initialize: (
233
+ ?address: Increase::EntityUpdateParams::NaturalPerson::Address,
234
+ ?name: String
235
+ ) -> void
236
+
237
+ def to_hash: -> {
238
+ address: Increase::EntityUpdateParams::NaturalPerson::Address,
239
+ name: String
240
+ }
241
+
242
+ type address =
243
+ {
244
+ city: String,
245
+ :line1 => String,
246
+ state: String,
247
+ zip: String,
248
+ :line2 => String
249
+ }
250
+
251
+ class Address < Increase::Internal::Type::BaseModel
252
+ attr_accessor city: String
253
+
254
+ attr_accessor line1: String
255
+
256
+ attr_accessor state: String
257
+
258
+ attr_accessor zip: String
259
+
260
+ attr_reader line2: String?
261
+
262
+ def line2=: (String) -> String
106
263
 
107
- def to_hash: -> { name: String }
264
+ def initialize: (
265
+ city: String,
266
+ line1: String,
267
+ state: String,
268
+ zip: String,
269
+ ?line2: String
270
+ ) -> void
271
+
272
+ def to_hash: -> {
273
+ city: String,
274
+ :line1 => String,
275
+ state: String,
276
+ zip: String,
277
+ :line2 => String
278
+ }
279
+ end
108
280
  end
109
281
 
110
282
  type risk_rating =
@@ -185,16 +357,68 @@ module Increase
185
357
  end
186
358
  end
187
359
 
188
- type trust = { name: String }
360
+ type trust =
361
+ { address: Increase::EntityUpdateParams::Trust::Address, name: String }
189
362
 
190
363
  class Trust < Increase::Internal::Type::BaseModel
364
+ attr_reader address: Increase::EntityUpdateParams::Trust::Address?
365
+
366
+ def address=: (
367
+ Increase::EntityUpdateParams::Trust::Address
368
+ ) -> Increase::EntityUpdateParams::Trust::Address
369
+
191
370
  attr_reader name: String?
192
371
 
193
372
  def name=: (String) -> String
194
373
 
195
- def initialize: (?name: String) -> void
374
+ def initialize: (
375
+ ?address: Increase::EntityUpdateParams::Trust::Address,
376
+ ?name: String
377
+ ) -> void
378
+
379
+ def to_hash: -> {
380
+ address: Increase::EntityUpdateParams::Trust::Address,
381
+ name: String
382
+ }
383
+
384
+ type address =
385
+ {
386
+ city: String,
387
+ :line1 => String,
388
+ state: String,
389
+ zip: String,
390
+ :line2 => String
391
+ }
392
+
393
+ class Address < Increase::Internal::Type::BaseModel
394
+ attr_accessor city: String
395
+
396
+ attr_accessor line1: String
397
+
398
+ attr_accessor state: String
399
+
400
+ attr_accessor zip: String
196
401
 
197
- def to_hash: -> { name: String }
402
+ attr_reader line2: String?
403
+
404
+ def line2=: (String) -> String
405
+
406
+ def initialize: (
407
+ city: String,
408
+ line1: String,
409
+ state: String,
410
+ zip: String,
411
+ ?line2: String
412
+ ) -> void
413
+
414
+ def to_hash: -> {
415
+ city: String,
416
+ :line1 => String,
417
+ state: String,
418
+ zip: String,
419
+ :line2 => String
420
+ }
421
+ end
198
422
  end
199
423
  end
200
424
  end
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.68.0
4
+ version: 1.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-07 00:00:00.000000000 Z
11
+ date: 2025-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool