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