increase 1.245.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: 1fb49e2148d54c6e411da14c39835004275a99efb66cf51361ed597224cb0166
4
- data.tar.gz: 332f30116682e7c30878efd596781ddc837eac715a2a74d2c30bd66fd5a9a02d
3
+ metadata.gz: eeb3a06c0f5aab9e892082eca204787130e9f8e21916add620b4e5925614fc4e
4
+ data.tar.gz: 73e0dafb03802d0204c36706e626684fc0badee92e415c5cd9cdecdc1a656625
5
5
  SHA512:
6
- metadata.gz: 7c74e5b1507d5037d79149e6d9187835f6e9aafabba17190922107dc19a045a9e68731e138a9cddc23ce64cbf5cc33e5bdd494ec54df8ada59e878447b8e88c8
7
- data.tar.gz: 92e67743e4cfff01765486dc6ba9c08cf0427503e689783f6591181ab1a55109cdd2961cf96b9b70c483c2fa6491f335d53e3468a549dd72365618e8d17c017c
6
+ metadata.gz: 40ab334633a9cf471d3ec78a6619953a8f1e4fb88597c8309f45e5954128d9b39df11207cd15d499a4b588a1fb6b846c97b975f522b6e7d438d8487a46e527b7
7
+ data.tar.gz: 7c697a4d574c24dafa5dfa33cfb121fc09c2a793cc966c1159cf2ce214d5ce0eac9a2e271576cc0c87b2dd2d35b498879d720f822e2c6b97fff84421db1eda8c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 1.245.0 (2026-03-12)
4
12
 
5
13
  Full Changelog: [v1.244.0...v1.245.0](https://github.com/Increase/increase-ruby/compare/v1.244.0...v1.245.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.245.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
@@ -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
@@ -89,6 +89,26 @@ module Increase
89
89
  )
90
90
  end
91
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
+
92
112
  # @api private
93
113
  #
94
114
  # @param client [Increase::Client]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.245.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
@@ -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 =
@@ -76,6 +76,20 @@ module Increase
76
76
  )
77
77
  end
78
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
+
79
93
  # @api private
80
94
  sig { params(client: Increase::Client).returns(T.attached_class) }
81
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
@@ -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
@@ -23,6 +23,11 @@ module Increase
23
23
  ?request_options: Increase::request_opts
24
24
  ) -> Increase::Internal::Page[Increase::EntityBeneficialOwner]
25
25
 
26
+ def archive: (
27
+ String entity_beneficial_owner_id,
28
+ ?request_options: Increase::request_opts
29
+ ) -> Increase::EntityBeneficialOwner
30
+
26
31
  def initialize: (client: Increase::Client) -> void
27
32
  end
28
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.245.0
4
+ version: 1.246.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
@@ -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