increase 1.242.0 → 1.243.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: fce3493743b7f1e3f2193de6a7e044d9e7b987320e8eaec2715c6c19b26e87e6
4
- data.tar.gz: 8a9a9b0689feff56ecd5005669356613b69a33f67e44e545ae1170d79dfa62e3
3
+ metadata.gz: d0e295da15aeecb29c4be017366f5464761d7075423ef1a75275116cc0bc8bce
4
+ data.tar.gz: '019a5d091730152904019de802312abccd1867c5a8ee66db6c6df18e36b84f02'
5
5
  SHA512:
6
- metadata.gz: 9f299a870b76d3fb04e30499ba66af6bf54dbd225d061846d4e519746ea6399e121302149124382ab46ca93cb6286820056949f5ed46c801cb1847e4d648d0bc
7
- data.tar.gz: 02b939d5884249325b3f4d1a54d78603d421b26189c34fec5f0624e3aa017694933585c5b2dd053b9df1033d2108a1f90b745b7bb12a66f91c012393eb890be2
6
+ metadata.gz: '09b7000fc7515a2d688d9d5511fc485a4db02f62c2eac4e72988824846977232982a87b5b3c643ceac2b7e44caf278394a0e8852830965be1dc022cf9c57ac48'
7
+ data.tar.gz: 656aa50c9f47b6ff1ca20392b8e2b1f5ea187f3c34fce75d7207fdc395ced126d0fc819276b2172aa2f4fc28cead7a22ae41d5d5edc3439249eb44dbc255ade4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.243.0 (2026-03-11)
4
+
5
+ Full Changelog: [v1.242.0...v1.243.0](https://github.com/Increase/increase-ruby/compare/v1.242.0...v1.243.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([8a6513b](https://github.com/Increase/increase-ruby/commit/8a6513bcf67ab8f7d66e55aa6df26d21af4abb3a))
10
+
3
11
  ## 1.242.0 (2026-03-11)
4
12
 
5
13
  Full Changelog: [v1.241.0...v1.242.0](https://github.com/Increase/increase-ruby/compare/v1.241.0...v1.242.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.242.0"
18
+ gem "increase", "~> 1.243.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -0,0 +1,92 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::BeneficialOwners#update
6
+ class BeneficialOwnerUpdateParams < 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 update.
12
+ #
13
+ # @return [String]
14
+ required :entity_beneficial_owner_id, String
15
+
16
+ # @!attribute address
17
+ # The individual's physical address. Mail receiving locations like PO Boxes and
18
+ # PMB's are disallowed.
19
+ #
20
+ # @return [Increase::Models::BeneficialOwnerUpdateParams::Address, nil]
21
+ optional :address, -> { Increase::BeneficialOwnerUpdateParams::Address }
22
+
23
+ # @!method initialize(entity_beneficial_owner_id:, address: nil, request_options: {})
24
+ # Some parameter documentations has been truncated, see
25
+ # {Increase::Models::BeneficialOwnerUpdateParams} for more details.
26
+ #
27
+ # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to update.
28
+ #
29
+ # @param address [Increase::Models::BeneficialOwnerUpdateParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
30
+ #
31
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
32
+
33
+ class Address < Increase::Internal::Type::BaseModel
34
+ # @!attribute city
35
+ # The city, district, town, or village of the address.
36
+ #
37
+ # @return [String]
38
+ required :city, String
39
+
40
+ # @!attribute country
41
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
42
+ #
43
+ # @return [String]
44
+ required :country, String
45
+
46
+ # @!attribute line1
47
+ # The first line of the address. This is usually the street number and street.
48
+ #
49
+ # @return [String]
50
+ required :line1, String
51
+
52
+ # @!attribute line2
53
+ # The second line of the address. This might be the floor or room number.
54
+ #
55
+ # @return [String, nil]
56
+ optional :line2, String
57
+
58
+ # @!attribute state
59
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
60
+ # state, province, or region of the address. Required in certain countries.
61
+ #
62
+ # @return [String, nil]
63
+ optional :state, String
64
+
65
+ # @!attribute zip
66
+ # The ZIP or postal code of the address. Required in certain countries.
67
+ #
68
+ # @return [String, nil]
69
+ optional :zip, String
70
+
71
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
72
+ # Some parameter documentations has been truncated, see
73
+ # {Increase::Models::BeneficialOwnerUpdateParams::Address} for more details.
74
+ #
75
+ # The individual's physical address. Mail receiving locations like PO Boxes and
76
+ # PMB's are disallowed.
77
+ #
78
+ # @param city [String] The city, district, town, or village of the address.
79
+ #
80
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
81
+ #
82
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
83
+ #
84
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
85
+ #
86
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
87
+ #
88
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
89
+ end
90
+ end
91
+ end
92
+ end
@@ -107,6 +107,8 @@ module Increase
107
107
 
108
108
  BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
109
109
 
110
+ BeneficialOwnerUpdateParams = Increase::Models::BeneficialOwnerUpdateParams
111
+
110
112
  BookkeepingAccount = Increase::Models::BookkeepingAccount
111
113
 
112
114
  BookkeepingAccountBalanceParams = Increase::Models::BookkeepingAccountBalanceParams
@@ -23,6 +23,33 @@ module Increase
23
23
  )
24
24
  end
25
25
 
26
+ # Some parameter documentations has been truncated, see
27
+ # {Increase::Models::BeneficialOwnerUpdateParams} for more details.
28
+ #
29
+ # Update a Beneficial Owner
30
+ #
31
+ # @overload update(entity_beneficial_owner_id, address: nil, request_options: {})
32
+ #
33
+ # @param entity_beneficial_owner_id [String] The identifier of the Beneficial Owner to update.
34
+ #
35
+ # @param address [Increase::Models::BeneficialOwnerUpdateParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
36
+ #
37
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
38
+ #
39
+ # @return [Increase::Models::EntityBeneficialOwner]
40
+ #
41
+ # @see Increase::Models::BeneficialOwnerUpdateParams
42
+ def update(entity_beneficial_owner_id, params = {})
43
+ parsed, options = Increase::BeneficialOwnerUpdateParams.dump_request(params)
44
+ @client.request(
45
+ method: :patch,
46
+ path: ["entity_beneficial_owners/%1$s", entity_beneficial_owner_id],
47
+ body: parsed,
48
+ model: Increase::EntityBeneficialOwner,
49
+ options: options
50
+ )
51
+ end
52
+
26
53
  # Some parameter documentations has been truncated, see
27
54
  # {Increase::Models::BeneficialOwnerListParams} for more details.
28
55
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.242.0"
4
+ VERSION = "1.243.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -88,6 +88,7 @@ require_relative "increase/models/ach_transfer_retrieve_params"
88
88
  require_relative "increase/models/balance_lookup"
89
89
  require_relative "increase/models/beneficial_owner_list_params"
90
90
  require_relative "increase/models/beneficial_owner_retrieve_params"
91
+ require_relative "increase/models/beneficial_owner_update_params"
91
92
  require_relative "increase/models/bookkeeping_account"
92
93
  require_relative "increase/models/bookkeeping_account_balance_params"
93
94
  require_relative "increase/models/bookkeeping_account_create_params"
@@ -0,0 +1,151 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class BeneficialOwnerUpdateParams < 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::BeneficialOwnerUpdateParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Beneficial Owner to update.
18
+ sig { returns(String) }
19
+ attr_accessor :entity_beneficial_owner_id
20
+
21
+ # The individual's physical address. Mail receiving locations like PO Boxes and
22
+ # PMB's are disallowed.
23
+ sig { returns(T.nilable(Increase::BeneficialOwnerUpdateParams::Address)) }
24
+ attr_reader :address
25
+
26
+ sig do
27
+ params(
28
+ address: Increase::BeneficialOwnerUpdateParams::Address::OrHash
29
+ ).void
30
+ end
31
+ attr_writer :address
32
+
33
+ sig do
34
+ params(
35
+ entity_beneficial_owner_id: String,
36
+ address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
37
+ request_options: Increase::RequestOptions::OrHash
38
+ ).returns(T.attached_class)
39
+ end
40
+ def self.new(
41
+ # The identifier of the Beneficial Owner to update.
42
+ entity_beneficial_owner_id:,
43
+ # The individual's physical address. Mail receiving locations like PO Boxes and
44
+ # PMB's are disallowed.
45
+ address: nil,
46
+ request_options: {}
47
+ )
48
+ end
49
+
50
+ sig do
51
+ override.returns(
52
+ {
53
+ entity_beneficial_owner_id: String,
54
+ address: Increase::BeneficialOwnerUpdateParams::Address,
55
+ request_options: Increase::RequestOptions
56
+ }
57
+ )
58
+ end
59
+ def to_hash
60
+ end
61
+
62
+ class Address < Increase::Internal::Type::BaseModel
63
+ OrHash =
64
+ T.type_alias do
65
+ T.any(
66
+ Increase::BeneficialOwnerUpdateParams::Address,
67
+ Increase::Internal::AnyHash
68
+ )
69
+ end
70
+
71
+ # The city, district, town, or village of the address.
72
+ sig { returns(String) }
73
+ attr_accessor :city
74
+
75
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
76
+ sig { returns(String) }
77
+ attr_accessor :country
78
+
79
+ # The first line of the address. This is usually the street number and street.
80
+ sig { returns(String) }
81
+ attr_accessor :line1
82
+
83
+ # The second line of the address. This might be the floor or room number.
84
+ sig { returns(T.nilable(String)) }
85
+ attr_reader :line2
86
+
87
+ sig { params(line2: String).void }
88
+ attr_writer :line2
89
+
90
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
91
+ # state, province, or region of the address. Required in certain countries.
92
+ sig { returns(T.nilable(String)) }
93
+ attr_reader :state
94
+
95
+ sig { params(state: String).void }
96
+ attr_writer :state
97
+
98
+ # The ZIP or postal code of the address. Required in certain countries.
99
+ sig { returns(T.nilable(String)) }
100
+ attr_reader :zip
101
+
102
+ sig { params(zip: String).void }
103
+ attr_writer :zip
104
+
105
+ # The individual's physical address. Mail receiving locations like PO Boxes and
106
+ # PMB's are disallowed.
107
+ sig do
108
+ params(
109
+ city: String,
110
+ country: String,
111
+ line1: String,
112
+ line2: String,
113
+ state: String,
114
+ zip: String
115
+ ).returns(T.attached_class)
116
+ end
117
+ def self.new(
118
+ # The city, district, town, or village of the address.
119
+ city:,
120
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
121
+ country:,
122
+ # The first line of the address. This is usually the street number and street.
123
+ line1:,
124
+ # The second line of the address. This might be the floor or room number.
125
+ line2: nil,
126
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
127
+ # state, province, or region of the address. Required in certain countries.
128
+ state: nil,
129
+ # The ZIP or postal code of the address. Required in certain countries.
130
+ zip: nil
131
+ )
132
+ end
133
+
134
+ sig do
135
+ override.returns(
136
+ {
137
+ city: String,
138
+ country: String,
139
+ line1: String,
140
+ line2: String,
141
+ state: String,
142
+ zip: String
143
+ }
144
+ )
145
+ end
146
+ def to_hash
147
+ end
148
+ end
149
+ end
150
+ end
151
+ end
@@ -74,6 +74,8 @@ module Increase
74
74
  BeneficialOwnerRetrieveParams =
75
75
  Increase::Models::BeneficialOwnerRetrieveParams
76
76
 
77
+ BeneficialOwnerUpdateParams = Increase::Models::BeneficialOwnerUpdateParams
78
+
77
79
  BookkeepingAccount = Increase::Models::BookkeepingAccount
78
80
 
79
81
  BookkeepingAccountBalanceParams =
@@ -17,6 +17,24 @@ module Increase
17
17
  )
18
18
  end
19
19
 
20
+ # Update a Beneficial Owner
21
+ sig do
22
+ params(
23
+ entity_beneficial_owner_id: String,
24
+ address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
25
+ request_options: Increase::RequestOptions::OrHash
26
+ ).returns(Increase::EntityBeneficialOwner)
27
+ end
28
+ def update(
29
+ # The identifier of the Beneficial Owner to update.
30
+ entity_beneficial_owner_id,
31
+ # The individual's physical address. Mail receiving locations like PO Boxes and
32
+ # PMB's are disallowed.
33
+ address: nil,
34
+ request_options: {}
35
+ )
36
+ end
37
+
20
38
  # List Beneficial Owners
21
39
  sig do
22
40
  params(
@@ -0,0 +1,83 @@
1
+ module Increase
2
+ module Models
3
+ type beneficial_owner_update_params =
4
+ {
5
+ entity_beneficial_owner_id: String,
6
+ address: Increase::BeneficialOwnerUpdateParams::Address
7
+ }
8
+ & Increase::Internal::Type::request_parameters
9
+
10
+ class BeneficialOwnerUpdateParams < Increase::Internal::Type::BaseModel
11
+ extend Increase::Internal::Type::RequestParameters::Converter
12
+ include Increase::Internal::Type::RequestParameters
13
+
14
+ attr_accessor entity_beneficial_owner_id: String
15
+
16
+ attr_reader address: Increase::BeneficialOwnerUpdateParams::Address?
17
+
18
+ def address=: (
19
+ Increase::BeneficialOwnerUpdateParams::Address
20
+ ) -> Increase::BeneficialOwnerUpdateParams::Address
21
+
22
+ def initialize: (
23
+ entity_beneficial_owner_id: String,
24
+ ?address: Increase::BeneficialOwnerUpdateParams::Address,
25
+ ?request_options: Increase::request_opts
26
+ ) -> void
27
+
28
+ def to_hash: -> {
29
+ entity_beneficial_owner_id: String,
30
+ address: Increase::BeneficialOwnerUpdateParams::Address,
31
+ request_options: Increase::RequestOptions
32
+ }
33
+
34
+ type address =
35
+ {
36
+ city: String,
37
+ country: String,
38
+ :line1 => String,
39
+ :line2 => String,
40
+ state: String,
41
+ zip: String
42
+ }
43
+
44
+ class Address < Increase::Internal::Type::BaseModel
45
+ attr_accessor city: String
46
+
47
+ attr_accessor country: String
48
+
49
+ attr_accessor line1: String
50
+
51
+ attr_reader line2: String?
52
+
53
+ def line2=: (String) -> String
54
+
55
+ attr_reader state: String?
56
+
57
+ def state=: (String) -> String
58
+
59
+ attr_reader zip: String?
60
+
61
+ def zip=: (String) -> String
62
+
63
+ def initialize: (
64
+ city: String,
65
+ country: String,
66
+ line1: String,
67
+ ?line2: String,
68
+ ?state: String,
69
+ ?zip: String
70
+ ) -> void
71
+
72
+ def to_hash: -> {
73
+ city: String,
74
+ country: String,
75
+ :line1 => String,
76
+ :line2 => String,
77
+ state: String,
78
+ zip: String
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -67,6 +67,8 @@ module Increase
67
67
 
68
68
  class BeneficialOwnerRetrieveParams = Increase::Models::BeneficialOwnerRetrieveParams
69
69
 
70
+ class BeneficialOwnerUpdateParams = Increase::Models::BeneficialOwnerUpdateParams
71
+
70
72
  class BookkeepingAccount = Increase::Models::BookkeepingAccount
71
73
 
72
74
  class BookkeepingAccountBalanceParams = Increase::Models::BookkeepingAccountBalanceParams
@@ -6,6 +6,12 @@ module Increase
6
6
  ?request_options: Increase::request_opts
7
7
  ) -> Increase::EntityBeneficialOwner
8
8
 
9
+ def update: (
10
+ String entity_beneficial_owner_id,
11
+ ?address: Increase::BeneficialOwnerUpdateParams::Address,
12
+ ?request_options: Increase::request_opts
13
+ ) -> Increase::EntityBeneficialOwner
14
+
9
15
  def list: (
10
16
  entity_id: String,
11
17
  ?cursor: String,
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.242.0
4
+ version: 1.243.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
@@ -118,6 +118,7 @@ files:
118
118
  - lib/increase/models/balance_lookup.rb
119
119
  - lib/increase/models/beneficial_owner_list_params.rb
120
120
  - lib/increase/models/beneficial_owner_retrieve_params.rb
121
+ - lib/increase/models/beneficial_owner_update_params.rb
121
122
  - lib/increase/models/bookkeeping_account.rb
122
123
  - lib/increase/models/bookkeeping_account_balance_params.rb
123
124
  - lib/increase/models/bookkeeping_account_create_params.rb
@@ -533,6 +534,7 @@ files:
533
534
  - rbi/increase/models/balance_lookup.rbi
534
535
  - rbi/increase/models/beneficial_owner_list_params.rbi
535
536
  - rbi/increase/models/beneficial_owner_retrieve_params.rbi
537
+ - rbi/increase/models/beneficial_owner_update_params.rbi
536
538
  - rbi/increase/models/bookkeeping_account.rbi
537
539
  - rbi/increase/models/bookkeeping_account_balance_params.rbi
538
540
  - rbi/increase/models/bookkeeping_account_create_params.rbi
@@ -947,6 +949,7 @@ files:
947
949
  - sig/increase/models/balance_lookup.rbs
948
950
  - sig/increase/models/beneficial_owner_list_params.rbs
949
951
  - sig/increase/models/beneficial_owner_retrieve_params.rbs
952
+ - sig/increase/models/beneficial_owner_update_params.rbs
950
953
  - sig/increase/models/bookkeeping_account.rbs
951
954
  - sig/increase/models/bookkeeping_account_balance_params.rbs
952
955
  - sig/increase/models/bookkeeping_account_create_params.rbs