increase 1.329.0 → 1.331.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: afba565f9871dafc4096655feed6e70cd01411b001ee61c2626497921c186e8d
4
- data.tar.gz: 78374f01810590bbd2294d29a87c534eb33edfee7b7b446ea779167ca7eb008c
3
+ metadata.gz: f30cfade1d167d8752eed6d9b15272510290060fd04d1ff948016ad20ea77a7d
4
+ data.tar.gz: d2460c646b88dd12eec9dcd1a6eb7b52fb3041e394dee2481738c03ff00abf83
5
5
  SHA512:
6
- metadata.gz: 0ba878a5e8e118a9cc4ca68bd40e9b2c21ff4c1c3409c0b44a6c84569f4e129408a9883c2523b0bcdeb7ed509c51001c9c0e63558bb1e1b14f27c9bf14383686
7
- data.tar.gz: 1c1179ac16aba12658c7065ff0eeb4b6ce4587567c0228bf50bd03484dceccabb82c8dc800d8bc6e8a08cf256cf01c2429f547cbb29590a33e5fe7344e14e66a
6
+ metadata.gz: 72f90a0aae3a50e048dd4d750eafec7a5ff14a84557f1cab6c2441b6000581bda24e885553233f271ad56008ece309894b17f100fdf1a6a3e984331d7adcd39b
7
+ data.tar.gz: 639df41715cab35a626926d7add02cbb6fea991b38f341a7d64aa194c6959d38a5f66e18e74893ebd162f22ec72e6287a58b4ab2ec2a233fd0e3287fe10c5eca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.331.0 (2026-05-18)
4
+
5
+ Full Changelog: [v1.330.0...v1.331.0](https://github.com/Increase/increase-ruby/compare/v1.330.0...v1.331.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([3686790](https://github.com/Increase/increase-ruby/commit/3686790b70dbac809f3700f2dd04a713d98c83b6))
10
+
11
+ ## 1.330.0 (2026-05-17)
12
+
13
+ Full Changelog: [v1.329.0...v1.330.0](https://github.com/Increase/increase-ruby/compare/v1.329.0...v1.330.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([1497039](https://github.com/Increase/increase-ruby/commit/1497039cf8b717ee110089273f944f7446554935))
18
+
3
19
  ## 1.329.0 (2026-05-16)
4
20
 
5
21
  Full Changelog: [v1.328.0...v1.329.0](https://github.com/Increase/increase-ruby/compare/v1.328.0...v1.329.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.329.0"
18
+ gem "increase", "~> 1.331.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -41,7 +41,17 @@ module Increase
41
41
  # @return [String, nil]
42
42
  optional :name, String
43
43
 
44
- # @!method initialize(entity_beneficial_owner_id:, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, request_options: {})
44
+ # @!attribute prongs
45
+ # Why this person is considered a beneficial owner of the entity. At least one
46
+ # option is required, if a person is both a control person and owner, submit an
47
+ # array containing both. Providing this replaces the beneficial owner's current
48
+ # prongs.
49
+ #
50
+ # @return [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>, nil]
51
+ optional :prongs,
52
+ -> { Increase::Internal::Type::ArrayOf[enum: Increase::BeneficialOwnerUpdateParams::Prong] }
53
+
54
+ # @!method initialize(entity_beneficial_owner_id:, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, prongs: nil, request_options: {})
45
55
  # Some parameter documentations has been truncated, see
46
56
  # {Increase::Models::BeneficialOwnerUpdateParams} for more details.
47
57
  #
@@ -55,6 +65,8 @@ module Increase
55
65
  #
56
66
  # @param name [String] The individual's legal name.
57
67
  #
68
+ # @param prongs [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>] Why this person is considered a beneficial owner of the entity. At least one opt
69
+ #
58
70
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
59
71
 
60
72
  class Address < Increase::Internal::Type::BaseModel
@@ -324,6 +336,19 @@ module Increase
324
336
  # @param file_id [String] The identifier of the File containing the passport.
325
337
  end
326
338
  end
339
+
340
+ module Prong
341
+ extend Increase::Internal::Type::Enum
342
+
343
+ # A person with 25% or greater direct or indirect ownership of the entity.
344
+ OWNERSHIP = :ownership
345
+
346
+ # A person who manages, directs, or has significant control of the entity.
347
+ CONTROL = :control
348
+
349
+ # @!method self.values
350
+ # @return [Array<Symbol>]
351
+ end
327
352
  end
328
353
  end
329
354
  end
@@ -146,9 +146,12 @@ module Increase
146
146
  required :address, -> { Increase::EntityCreateParams::Corporation::Address }
147
147
 
148
148
  # @!attribute beneficial_owners
149
- # The identifying details of each person who owns 25% or more of the business and
150
- # one control person, like the CEO, CFO, or other executive. You can submit
151
- # between 1 and 5 people to this list.
149
+ # The identifying details of one control person (`control`), like the CEO, CFO, or
150
+ # other executive, plus each person who owns 25% or more of the business
151
+ # (`ownership`). At least one control person is required, and frequently, the
152
+ # `control` person is also `ownership`. In some cases, there are no individuals
153
+ # who own 25% or more of the business. In that case, you should submit a single
154
+ # `control` person.
152
155
  #
153
156
  # @return [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>]
154
157
  required :beneficial_owners,
@@ -215,7 +218,7 @@ module Increase
215
218
  #
216
219
  # @param address [Increase::Models::EntityCreateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
217
220
  #
218
- # @param beneficial_owners [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>] The identifying details of each person who owns 25% or more of the business and
221
+ # @param beneficial_owners [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>] The identifying details of one control person (`control`), like the CEO, CFO, or
219
222
  #
220
223
  # @param legal_identifier [Increase::Models::EntityCreateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
221
224
  #
@@ -59,7 +59,7 @@ module Increase
59
59
  #
60
60
  # Update a Beneficial Owner
61
61
  #
62
- # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, request_options: {})
62
+ # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, prongs: nil, request_options: {})
63
63
  #
64
64
  # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to update.
65
65
  #
@@ -71,6 +71,8 @@ module Increase
71
71
  #
72
72
  # @param name [String] The individual's legal name.
73
73
  #
74
+ # @param prongs [Array<Symbol, Increase::Models::BeneficialOwnerUpdateParams::Prong>] Why this person is considered a beneficial owner of the entity. At least one opt
75
+ #
74
76
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
75
77
  #
76
78
  # @return [Increase::Models::EntityBeneficialOwner]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.329.0"
4
+ VERSION = "1.331.0"
5
5
  end
@@ -63,6 +63,27 @@ module Increase
63
63
  sig { params(name: String).void }
64
64
  attr_writer :name
65
65
 
66
+ # Why this person is considered a beneficial owner of the entity. At least one
67
+ # option is required, if a person is both a control person and owner, submit an
68
+ # array containing both. Providing this replaces the beneficial owner's current
69
+ # prongs.
70
+ sig do
71
+ returns(
72
+ T.nilable(
73
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol]
74
+ )
75
+ )
76
+ end
77
+ attr_reader :prongs
78
+
79
+ sig do
80
+ params(
81
+ prongs:
82
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol]
83
+ ).void
84
+ end
85
+ attr_writer :prongs
86
+
66
87
  sig do
67
88
  params(
68
89
  entity_beneficial_owner_id: String,
@@ -71,6 +92,8 @@ module Increase
71
92
  identification:
72
93
  Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
73
94
  name: String,
95
+ prongs:
96
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
74
97
  request_options: Increase::RequestOptions::OrHash
75
98
  ).returns(T.attached_class)
76
99
  end
@@ -89,6 +112,11 @@ module Increase
89
112
  identification: nil,
90
113
  # The individual's legal name.
91
114
  name: nil,
115
+ # Why this person is considered a beneficial owner of the entity. At least one
116
+ # option is required, if a person is both a control person and owner, submit an
117
+ # array containing both. Providing this replaces the beneficial owner's current
118
+ # prongs.
119
+ prongs: nil,
92
120
  request_options: {}
93
121
  )
94
122
  end
@@ -102,6 +130,8 @@ module Increase
102
130
  identification:
103
131
  Increase::BeneficialOwnerUpdateParams::Identification,
104
132
  name: String,
133
+ prongs:
134
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
105
135
  request_options: Increase::RequestOptions
106
136
  }
107
137
  )
@@ -583,6 +613,38 @@ module Increase
583
613
  end
584
614
  end
585
615
  end
616
+
617
+ module Prong
618
+ extend Increase::Internal::Type::Enum
619
+
620
+ TaggedSymbol =
621
+ T.type_alias do
622
+ T.all(Symbol, Increase::BeneficialOwnerUpdateParams::Prong)
623
+ end
624
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
625
+
626
+ # A person with 25% or greater direct or indirect ownership of the entity.
627
+ OWNERSHIP =
628
+ T.let(
629
+ :ownership,
630
+ Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol
631
+ )
632
+
633
+ # A person who manages, directs, or has significant control of the entity.
634
+ CONTROL =
635
+ T.let(
636
+ :control,
637
+ Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol
638
+ )
639
+
640
+ sig do
641
+ override.returns(
642
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::TaggedSymbol]
643
+ )
644
+ end
645
+ def self.values
646
+ end
647
+ end
586
648
  end
587
649
  end
588
650
  end
@@ -296,9 +296,12 @@ module Increase
296
296
  end
297
297
  attr_writer :address
298
298
 
299
- # The identifying details of each person who owns 25% or more of the business and
300
- # one control person, like the CEO, CFO, or other executive. You can submit
301
- # between 1 and 5 people to this list.
299
+ # The identifying details of one control person (`control`), like the CEO, CFO, or
300
+ # other executive, plus each person who owns 25% or more of the business
301
+ # (`ownership`). At least one control person is required, and frequently, the
302
+ # `control` person is also `ownership`. In some cases, there are no individuals
303
+ # who own 25% or more of the business. In that case, you should submit a single
304
+ # `control` person.
302
305
  sig do
303
306
  returns(
304
307
  T::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner]
@@ -403,9 +406,12 @@ module Increase
403
406
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
404
407
  # are disallowed.
405
408
  address:,
406
- # The identifying details of each person who owns 25% or more of the business and
407
- # one control person, like the CEO, CFO, or other executive. You can submit
408
- # between 1 and 5 people to this list.
409
+ # The identifying details of one control person (`control`), like the CEO, CFO, or
410
+ # other executive, plus each person who owns 25% or more of the business
411
+ # (`ownership`). At least one control person is required, and frequently, the
412
+ # `control` person is also `ownership`. In some cases, there are no individuals
413
+ # who own 25% or more of the business. In that case, you should submit a single
414
+ # `control` person.
409
415
  beneficial_owners:,
410
416
  # The legal identifier of the corporation. This is usually the Employer
411
417
  # Identification Number (EIN).
@@ -52,6 +52,8 @@ module Increase
52
52
  identification:
53
53
  Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
54
54
  name: String,
55
+ prongs:
56
+ T::Array[Increase::BeneficialOwnerUpdateParams::Prong::OrSymbol],
55
57
  request_options: Increase::RequestOptions::OrHash
56
58
  ).returns(Increase::EntityBeneficialOwner)
57
59
  end
@@ -70,6 +72,11 @@ module Increase
70
72
  identification: nil,
71
73
  # The individual's legal name.
72
74
  name: nil,
75
+ # Why this person is considered a beneficial owner of the entity. At least one
76
+ # option is required, if a person is both a control person and owner, submit an
77
+ # array containing both. Providing this replaces the beneficial owner's current
78
+ # prongs.
79
+ prongs: nil,
73
80
  request_options: {}
74
81
  )
75
82
  end
@@ -6,7 +6,8 @@ module Increase
6
6
  address: Increase::BeneficialOwnerUpdateParams::Address,
7
7
  confirmed_no_us_tax_id: bool,
8
8
  identification: Increase::BeneficialOwnerUpdateParams::Identification,
9
- name: String
9
+ name: String,
10
+ prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
10
11
  }
11
12
  & Increase::Internal::Type::request_parameters
12
13
 
@@ -36,12 +37,19 @@ module Increase
36
37
 
37
38
  def name=: (String) -> String
38
39
 
40
+ attr_reader prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]?
41
+
42
+ def prongs=: (
43
+ ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
44
+ ) -> ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
45
+
39
46
  def initialize: (
40
47
  entity_beneficial_owner_id: String,
41
48
  ?address: Increase::BeneficialOwnerUpdateParams::Address,
42
49
  ?confirmed_no_us_tax_id: bool,
43
50
  ?identification: Increase::BeneficialOwnerUpdateParams::Identification,
44
51
  ?name: String,
52
+ ?prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
45
53
  ?request_options: Increase::request_opts
46
54
  ) -> void
47
55
 
@@ -51,6 +59,7 @@ module Increase
51
59
  confirmed_no_us_tax_id: bool,
52
60
  identification: Increase::BeneficialOwnerUpdateParams::Identification,
53
61
  name: String,
62
+ prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
54
63
  request_options: Increase::RequestOptions
55
64
  }
56
65
 
@@ -276,6 +285,20 @@ module Increase
276
285
  }
277
286
  end
278
287
  end
288
+
289
+ type prong = :ownership | :control
290
+
291
+ module Prong
292
+ extend Increase::Internal::Type::Enum
293
+
294
+ # A person with 25% or greater direct or indirect ownership of the entity.
295
+ OWNERSHIP: :ownership
296
+
297
+ # A person who manages, directs, or has significant control of the entity.
298
+ CONTROL: :control
299
+
300
+ def self?.values: -> ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong]
301
+ end
279
302
  end
280
303
  end
281
304
  end
@@ -20,6 +20,7 @@ module Increase
20
20
  ?confirmed_no_us_tax_id: bool,
21
21
  ?identification: Increase::BeneficialOwnerUpdateParams::Identification,
22
22
  ?name: String,
23
+ ?prongs: ::Array[Increase::Models::BeneficialOwnerUpdateParams::prong],
23
24
  ?request_options: Increase::request_opts
24
25
  ) -> Increase::EntityBeneficialOwner
25
26
 
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.329.0
4
+ version: 1.331.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-16 00:00:00.000000000 Z
11
+ date: 2026-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi