increase 1.244.0 → 1.246.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: d03e6f27a7704d5ef853cbb6efc09a1eacd416f48530c363af0be721fe5175f2
4
- data.tar.gz: ed5a7daca75b86482b1a75fe4975b0e34fd86a853436b9f1be9ac78216764af6
3
+ metadata.gz: eeb3a06c0f5aab9e892082eca204787130e9f8e21916add620b4e5925614fc4e
4
+ data.tar.gz: 73e0dafb03802d0204c36706e626684fc0badee92e415c5cd9cdecdc1a656625
5
5
  SHA512:
6
- metadata.gz: ac54ad68e80db15df210e907e1b0ce655b7ceb4b213952e95c9f671b63b47327ecaea35b16f7837a9630eaf219fdf62d542e0fd1890173ade97f7647db0130f0
7
- data.tar.gz: d3caa197960924d90d90ac00464486fbc6d5715d1831185759c5beee8141a1312d90e7bccfe4106cfea9847f739e9d544fd527822ae805342e4bf6556b66f911
6
+ metadata.gz: 40ab334633a9cf471d3ec78a6619953a8f1e4fb88597c8309f45e5954128d9b39df11207cd15d499a4b588a1fb6b846c97b975f522b6e7d438d8487a46e527b7
7
+ data.tar.gz: 7c697a4d574c24dafa5dfa33cfb121fc09c2a793cc966c1159cf2ce214d5ce0eac9a2e271576cc0c87b2dd2d35b498879d720f822e2c6b97fff84421db1eda8c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.246.0 (2026-03-12)
4
+
5
+ Full Changelog: [v1.245.0...v1.246.0](https://github.com/Increase/increase-ruby/compare/v1.245.0...v1.246.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([1d13412](https://github.com/Increase/increase-ruby/commit/1d13412b23dcc2d2a95113fc5f8f40b04b6bd323))
10
+
11
+ ## 1.245.0 (2026-03-12)
12
+
13
+ Full Changelog: [v1.244.0...v1.245.0](https://github.com/Increase/increase-ruby/compare/v1.244.0...v1.245.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([92af05a](https://github.com/Increase/increase-ruby/commit/92af05a3ccbe326343ba547df2276f25455124e3))
18
+
3
19
  ## 1.244.0 (2026-03-11)
4
20
 
5
21
  Full Changelog: [v1.243.0...v1.244.0](https://github.com/Increase/increase-ruby/compare/v1.243.0...v1.244.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.244.0"
18
+ gem "increase", "~> 1.246.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::BeneficialOwners#archive
6
+ class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute entity_beneficial_owner_id
11
+ # The identifier of the Beneficial Owner to archive.
12
+ #
13
+ # @return [String]
14
+ required :entity_beneficial_owner_id, String
15
+
16
+ # @!method initialize(entity_beneficial_owner_id:, request_options: {})
17
+ # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to archive.
18
+ #
19
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
20
+ end
21
+ end
22
+ end
@@ -35,7 +35,13 @@ module Increase
35
35
  # @return [Increase::Models::BeneficialOwnerUpdateParams::Identification, nil]
36
36
  optional :identification, -> { Increase::BeneficialOwnerUpdateParams::Identification }
37
37
 
38
- # @!method initialize(entity_beneficial_owner_id:, address: nil, confirmed_no_us_tax_id: nil, identification: nil, request_options: {})
38
+ # @!attribute name
39
+ # The individual's legal name.
40
+ #
41
+ # @return [String, nil]
42
+ optional :name, String
43
+
44
+ # @!method initialize(entity_beneficial_owner_id:, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, request_options: {})
39
45
  # Some parameter documentations has been truncated, see
40
46
  # {Increase::Models::BeneficialOwnerUpdateParams} for more details.
41
47
  #
@@ -47,6 +53,8 @@ module Increase
47
53
  #
48
54
  # @param identification [Increase::Models::BeneficialOwnerUpdateParams::Identification] A means of verifying the person's identity.
49
55
  #
56
+ # @param name [String] The individual's legal name.
57
+ #
50
58
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
51
59
 
52
60
  class Address < Increase::Internal::Type::BaseModel
@@ -103,6 +103,8 @@ module Increase
103
103
 
104
104
  BalanceLookup = Increase::Models::BalanceLookup
105
105
 
106
+ BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
107
+
106
108
  BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
107
109
 
108
110
  BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
@@ -28,7 +28,7 @@ module Increase
28
28
  #
29
29
  # Update a Beneficial Owner
30
30
  #
31
- # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, identification: nil, request_options: {})
31
+ # @overload update(entity_beneficial_owner_id, address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil, request_options: {})
32
32
  #
33
33
  # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to update.
34
34
  #
@@ -38,6 +38,8 @@ module Increase
38
38
  #
39
39
  # @param identification [Increase::Models::BeneficialOwnerUpdateParams::Identification] A means of verifying the person's identity.
40
40
  #
41
+ # @param name [String] The individual's legal name.
42
+ #
41
43
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
42
44
  #
43
45
  # @return [Increase::Models::EntityBeneficialOwner]
@@ -87,6 +89,26 @@ module Increase
87
89
  )
88
90
  end
89
91
 
92
+ # Archive a Beneficial Owner
93
+ #
94
+ # @overload archive(entity_beneficial_owner_id, request_options: {})
95
+ #
96
+ # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to archive.
97
+ #
98
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
99
+ #
100
+ # @return [Increase::Models::EntityBeneficialOwner]
101
+ #
102
+ # @see Increase::Models::BeneficialOwnerArchiveParams
103
+ def archive(entity_beneficial_owner_id, params = {})
104
+ @client.request(
105
+ method: :post,
106
+ path: ["entity_beneficial_owners/%1$s/archive", entity_beneficial_owner_id],
107
+ model: Increase::EntityBeneficialOwner,
108
+ options: params[:request_options]
109
+ )
110
+ end
111
+
90
112
  # @api private
91
113
  #
92
114
  # @param client [Increase::Client]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.244.0"
4
+ VERSION = "1.246.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -86,6 +86,7 @@ require_relative "increase/models/ach_transfer_create_params"
86
86
  require_relative "increase/models/ach_transfer_list_params"
87
87
  require_relative "increase/models/ach_transfer_retrieve_params"
88
88
  require_relative "increase/models/balance_lookup"
89
+ require_relative "increase/models/beneficial_owner_archive_params"
89
90
  require_relative "increase/models/beneficial_owner_list_params"
90
91
  require_relative "increase/models/beneficial_owner_retrieve_params"
91
92
  require_relative "increase/models/beneficial_owner_update_params"
@@ -0,0 +1,46 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::BeneficialOwnerArchiveParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Beneficial Owner to archive.
18
+ sig { returns(String) }
19
+ attr_accessor :entity_beneficial_owner_id
20
+
21
+ sig do
22
+ params(
23
+ entity_beneficial_owner_id: String,
24
+ request_options: Increase::RequestOptions::OrHash
25
+ ).returns(T.attached_class)
26
+ end
27
+ def self.new(
28
+ # The identifier of the Beneficial Owner to archive.
29
+ entity_beneficial_owner_id:,
30
+ request_options: {}
31
+ )
32
+ end
33
+
34
+ sig do
35
+ override.returns(
36
+ {
37
+ entity_beneficial_owner_id: String,
38
+ request_options: Increase::RequestOptions
39
+ }
40
+ )
41
+ end
42
+ def to_hash
43
+ end
44
+ end
45
+ end
46
+ end
@@ -56,6 +56,13 @@ module Increase
56
56
  end
57
57
  attr_writer :identification
58
58
 
59
+ # The individual's legal name.
60
+ sig { returns(T.nilable(String)) }
61
+ attr_reader :name
62
+
63
+ sig { params(name: String).void }
64
+ attr_writer :name
65
+
59
66
  sig do
60
67
  params(
61
68
  entity_beneficial_owner_id: String,
@@ -63,6 +70,7 @@ module Increase
63
70
  confirmed_no_us_tax_id: T::Boolean,
64
71
  identification:
65
72
  Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
73
+ name: String,
66
74
  request_options: Increase::RequestOptions::OrHash
67
75
  ).returns(T.attached_class)
68
76
  end
@@ -79,6 +87,8 @@ module Increase
79
87
  confirmed_no_us_tax_id: nil,
80
88
  # A means of verifying the person's identity.
81
89
  identification: nil,
90
+ # The individual's legal name.
91
+ name: nil,
82
92
  request_options: {}
83
93
  )
84
94
  end
@@ -91,6 +101,7 @@ module Increase
91
101
  confirmed_no_us_tax_id: T::Boolean,
92
102
  identification:
93
103
  Increase::BeneficialOwnerUpdateParams::Identification,
104
+ name: String,
94
105
  request_options: Increase::RequestOptions
95
106
  }
96
107
  )
@@ -69,6 +69,8 @@ module Increase
69
69
 
70
70
  BalanceLookup = Increase::Models::BalanceLookup
71
71
 
72
+ BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
73
+
72
74
  BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
73
75
 
74
76
  BeneficialOwnerRetrieveParams =
@@ -25,6 +25,7 @@ module Increase
25
25
  confirmed_no_us_tax_id: T::Boolean,
26
26
  identification:
27
27
  Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
28
+ name: String,
28
29
  request_options: Increase::RequestOptions::OrHash
29
30
  ).returns(Increase::EntityBeneficialOwner)
30
31
  end
@@ -41,6 +42,8 @@ module Increase
41
42
  confirmed_no_us_tax_id: nil,
42
43
  # A means of verifying the person's identity.
43
44
  identification: nil,
45
+ # The individual's legal name.
46
+ name: nil,
44
47
  request_options: {}
45
48
  )
46
49
  end
@@ -73,6 +76,20 @@ module Increase
73
76
  )
74
77
  end
75
78
 
79
+ # Archive a Beneficial Owner
80
+ sig do
81
+ params(
82
+ entity_beneficial_owner_id: String,
83
+ request_options: Increase::RequestOptions::OrHash
84
+ ).returns(Increase::EntityBeneficialOwner)
85
+ end
86
+ def archive(
87
+ # The identifier of the Beneficial Owner to archive.
88
+ entity_beneficial_owner_id,
89
+ request_options: {}
90
+ )
91
+ end
92
+
76
93
  # @api private
77
94
  sig { params(client: Increase::Client).returns(T.attached_class) }
78
95
  def self.new(client:)
@@ -0,0 +1,24 @@
1
+ module Increase
2
+ module Models
3
+ type beneficial_owner_archive_params =
4
+ { entity_beneficial_owner_id: String }
5
+ & Increase::Internal::Type::request_parameters
6
+
7
+ class BeneficialOwnerArchiveParams < Increase::Internal::Type::BaseModel
8
+ extend Increase::Internal::Type::RequestParameters::Converter
9
+ include Increase::Internal::Type::RequestParameters
10
+
11
+ attr_accessor entity_beneficial_owner_id: String
12
+
13
+ def initialize: (
14
+ entity_beneficial_owner_id: String,
15
+ ?request_options: Increase::request_opts
16
+ ) -> void
17
+
18
+ def to_hash: -> {
19
+ entity_beneficial_owner_id: String,
20
+ request_options: Increase::RequestOptions
21
+ }
22
+ end
23
+ end
24
+ end
@@ -5,7 +5,8 @@ module Increase
5
5
  entity_beneficial_owner_id: String,
6
6
  address: Increase::BeneficialOwnerUpdateParams::Address,
7
7
  confirmed_no_us_tax_id: bool,
8
- identification: Increase::BeneficialOwnerUpdateParams::Identification
8
+ identification: Increase::BeneficialOwnerUpdateParams::Identification,
9
+ name: String
9
10
  }
10
11
  & Increase::Internal::Type::request_parameters
11
12
 
@@ -31,11 +32,16 @@ module Increase
31
32
  Increase::BeneficialOwnerUpdateParams::Identification
32
33
  ) -> Increase::BeneficialOwnerUpdateParams::Identification
33
34
 
35
+ attr_reader name: String?
36
+
37
+ def name=: (String) -> String
38
+
34
39
  def initialize: (
35
40
  entity_beneficial_owner_id: String,
36
41
  ?address: Increase::BeneficialOwnerUpdateParams::Address,
37
42
  ?confirmed_no_us_tax_id: bool,
38
43
  ?identification: Increase::BeneficialOwnerUpdateParams::Identification,
44
+ ?name: String,
39
45
  ?request_options: Increase::request_opts
40
46
  ) -> void
41
47
 
@@ -44,6 +50,7 @@ module Increase
44
50
  address: Increase::BeneficialOwnerUpdateParams::Address,
45
51
  confirmed_no_us_tax_id: bool,
46
52
  identification: Increase::BeneficialOwnerUpdateParams::Identification,
53
+ name: String,
47
54
  request_options: Increase::RequestOptions
48
55
  }
49
56
 
@@ -63,6 +63,8 @@ module Increase
63
63
 
64
64
  class BalanceLookup = Increase::Models::BalanceLookup
65
65
 
66
+ class BeneficialOwnerArchiveParams = Increase::Models::BeneficialOwnerArchiveParams
67
+
66
68
  class BeneficialOwnerListParams = Increase::Models::BeneficialOwnerListParams
67
69
 
68
70
  class BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
@@ -11,6 +11,7 @@ module Increase
11
11
  ?address: Increase::BeneficialOwnerUpdateParams::Address,
12
12
  ?confirmed_no_us_tax_id: bool,
13
13
  ?identification: Increase::BeneficialOwnerUpdateParams::Identification,
14
+ ?name: String,
14
15
  ?request_options: Increase::request_opts
15
16
  ) -> Increase::EntityBeneficialOwner
16
17
 
@@ -22,6 +23,11 @@ module Increase
22
23
  ?request_options: Increase::request_opts
23
24
  ) -> Increase::Internal::Page[Increase::EntityBeneficialOwner]
24
25
 
26
+ def archive: (
27
+ String entity_beneficial_owner_id,
28
+ ?request_options: Increase::request_opts
29
+ ) -> Increase::EntityBeneficialOwner
30
+
25
31
  def initialize: (client: Increase::Client) -> void
26
32
  end
27
33
  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.244.0
4
+ version: 1.246.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-03-11 00:00:00.000000000 Z
11
+ date: 2026-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -116,6 +116,7 @@ files:
116
116
  - lib/increase/models/ach_transfer_list_params.rb
117
117
  - lib/increase/models/ach_transfer_retrieve_params.rb
118
118
  - lib/increase/models/balance_lookup.rb
119
+ - lib/increase/models/beneficial_owner_archive_params.rb
119
120
  - lib/increase/models/beneficial_owner_list_params.rb
120
121
  - lib/increase/models/beneficial_owner_retrieve_params.rb
121
122
  - lib/increase/models/beneficial_owner_update_params.rb
@@ -532,6 +533,7 @@ files:
532
533
  - rbi/increase/models/ach_transfer_list_params.rbi
533
534
  - rbi/increase/models/ach_transfer_retrieve_params.rbi
534
535
  - rbi/increase/models/balance_lookup.rbi
536
+ - rbi/increase/models/beneficial_owner_archive_params.rbi
535
537
  - rbi/increase/models/beneficial_owner_list_params.rbi
536
538
  - rbi/increase/models/beneficial_owner_retrieve_params.rbi
537
539
  - rbi/increase/models/beneficial_owner_update_params.rbi
@@ -947,6 +949,7 @@ files:
947
949
  - sig/increase/models/ach_transfer_list_params.rbs
948
950
  - sig/increase/models/ach_transfer_retrieve_params.rbs
949
951
  - sig/increase/models/balance_lookup.rbs
952
+ - sig/increase/models/beneficial_owner_archive_params.rbs
950
953
  - sig/increase/models/beneficial_owner_list_params.rbs
951
954
  - sig/increase/models/beneficial_owner_retrieve_params.rbs
952
955
  - sig/increase/models/beneficial_owner_update_params.rbs