increase 1.329.0 → 1.330.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: b20eb0b5d907399fbb949a4503a622fcd33632d9980a736d42f05ca6a5301be1
4
+ data.tar.gz: 742164b33bea4e5ce9b490dd06e640375d96c635e08d981ef7b4215b64538a30
5
5
  SHA512:
6
- metadata.gz: 0ba878a5e8e118a9cc4ca68bd40e9b2c21ff4c1c3409c0b44a6c84569f4e129408a9883c2523b0bcdeb7ed509c51001c9c0e63558bb1e1b14f27c9bf14383686
7
- data.tar.gz: 1c1179ac16aba12658c7065ff0eeb4b6ce4587567c0228bf50bd03484dceccabb82c8dc800d8bc6e8a08cf256cf01c2429f547cbb29590a33e5fe7344e14e66a
6
+ metadata.gz: 66d9debb16fdecd229ebed4182ff900e59223726dd4d638cb56924427e113b6830604795a543e30141a3a25bf38347f4f9215b1c5a7077f896e77d398c072400
7
+ data.tar.gz: 464894df51daed58b1d30c867fe4ee198ca756a765fff8c7f61f0e81d3aab58bc73cae9f6501a5315b46cfe9919164118bf494cc91aa860810d35eb31453252e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.330.0 (2026-05-17)
4
+
5
+ Full Changelog: [v1.329.0...v1.330.0](https://github.com/Increase/increase-ruby/compare/v1.329.0...v1.330.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([1497039](https://github.com/Increase/increase-ruby/commit/1497039cf8b717ee110089273f944f7446554935))
10
+
3
11
  ## 1.329.0 (2026-05-16)
4
12
 
5
13
  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.330.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
@@ -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.330.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
@@ -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.330.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-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi