increase 1.246.0 → 1.247.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: eeb3a06c0f5aab9e892082eca204787130e9f8e21916add620b4e5925614fc4e
4
- data.tar.gz: 73e0dafb03802d0204c36706e626684fc0badee92e415c5cd9cdecdc1a656625
3
+ metadata.gz: baa127840357bc60f492d9f55706bb8d4b417d7e26c49bc31e95dcbfc47184c4
4
+ data.tar.gz: beecc4407fa914ba1cdc36f5b125dae279a08bac834d4fe6d9e8f668722ab3a9
5
5
  SHA512:
6
- metadata.gz: 40ab334633a9cf471d3ec78a6619953a8f1e4fb88597c8309f45e5954128d9b39df11207cd15d499a4b588a1fb6b846c97b975f522b6e7d438d8487a46e527b7
7
- data.tar.gz: 7c697a4d574c24dafa5dfa33cfb121fc09c2a793cc966c1159cf2ce214d5ce0eac9a2e271576cc0c87b2dd2d35b498879d720f822e2c6b97fff84421db1eda8c
6
+ metadata.gz: 95449c2a60e873c7c16efdc2664a702ffbd1a5a8c1dcda466c284915633054c5d24223757bcab384c27752f2899e5ce304c36783606af2f60cee880bfd9f1fc4
7
+ data.tar.gz: ccc76863bc2219aee7e0c876a181244eec76d8a2c13170742e616c705cfeceee0adceb2dbbcb9a0577800fb93972e6e1f243b96f229820d7493bade4dd1decf1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.247.0 (2026-03-12)
4
+
5
+ Full Changelog: [v1.246.0...v1.247.0](https://github.com/Increase/increase-ruby/compare/v1.246.0...v1.247.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([eb21be2](https://github.com/Increase/increase-ruby/commit/eb21be29f956c26f627e95e5b6b3b6d38c30b946))
10
+
3
11
  ## 1.246.0 (2026-03-12)
4
12
 
5
13
  Full Changelog: [v1.245.0...v1.246.0](https://github.com/Increase/increase-ruby/compare/v1.245.0...v1.246.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.246.0"
18
+ gem "increase", "~> 1.247.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -259,8 +259,6 @@ module Increase
259
259
 
260
260
  Entity = Increase::Models::Entity
261
261
 
262
- EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
263
-
264
262
  EntityArchiveParams = Increase::Models::EntityArchiveParams
265
263
 
266
264
  EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
@@ -275,8 +273,6 @@ module Increase
275
273
 
276
274
  EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
277
275
 
278
- EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
279
-
280
276
  EntityUpdateParams = Increase::Models::EntityUpdateParams
281
277
 
282
278
  Event = Increase::Models::Event
@@ -165,33 +165,6 @@ module Increase
165
165
  )
166
166
  end
167
167
 
168
- # Some parameter documentations has been truncated, see
169
- # {Increase::Models::EntityArchiveBeneficialOwnerParams} for more details.
170
- #
171
- # Archive a beneficial owner for a corporate Entity
172
- #
173
- # @overload archive_beneficial_owner(entity_id, beneficial_owner_id:, request_options: {})
174
- #
175
- # @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner that is being
176
- #
177
- # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
178
- #
179
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
180
- #
181
- # @return [Increase::Models::Entity]
182
- #
183
- # @see Increase::Models::EntityArchiveBeneficialOwnerParams
184
- def archive_beneficial_owner(entity_id, params)
185
- parsed, options = Increase::EntityArchiveBeneficialOwnerParams.dump_request(params)
186
- @client.request(
187
- method: :post,
188
- path: ["entities/%1$s/archive_beneficial_owner", entity_id],
189
- body: parsed,
190
- model: Increase::Entity,
191
- options: options
192
- )
193
- end
194
-
195
168
  # Some parameter documentations has been truncated, see
196
169
  # {Increase::Models::EntityCreateBeneficialOwnerParams} for more details.
197
170
  #
@@ -219,35 +192,6 @@ module Increase
219
192
  )
220
193
  end
221
194
 
222
- # Some parameter documentations has been truncated, see
223
- # {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details.
224
- #
225
- # Update the address for a beneficial owner belonging to a corporate Entity
226
- #
227
- # @overload update_beneficial_owner_address(entity_id, address:, beneficial_owner_id:, request_options: {})
228
- #
229
- # @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner whose address
230
- #
231
- # @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
232
- #
233
- # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
234
- #
235
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
236
- #
237
- # @return [Increase::Models::Entity]
238
- #
239
- # @see Increase::Models::EntityUpdateBeneficialOwnerAddressParams
240
- def update_beneficial_owner_address(entity_id, params)
241
- parsed, options = Increase::EntityUpdateBeneficialOwnerAddressParams.dump_request(params)
242
- @client.request(
243
- method: :post,
244
- path: ["entities/%1$s/update_beneficial_owner_address", entity_id],
245
- body: parsed,
246
- model: Increase::Entity,
247
- options: options
248
- )
249
- end
250
-
251
195
  # @api private
252
196
  #
253
197
  # @param client [Increase::Client]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.246.0"
4
+ VERSION = "1.247.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -164,7 +164,6 @@ require_relative "increase/models/digital_wallet_token"
164
164
  require_relative "increase/models/digital_wallet_token_list_params"
165
165
  require_relative "increase/models/digital_wallet_token_retrieve_params"
166
166
  require_relative "increase/models/entity"
167
- require_relative "increase/models/entity_archive_beneficial_owner_params"
168
167
  require_relative "increase/models/entity_archive_params"
169
168
  require_relative "increase/models/entity_beneficial_owner"
170
169
  require_relative "increase/models/entity_create_beneficial_owner_params"
@@ -172,7 +171,6 @@ require_relative "increase/models/entity_create_params"
172
171
  require_relative "increase/models/entity_list_params"
173
172
  require_relative "increase/models/entity_retrieve_params"
174
173
  require_relative "increase/models/entity_supplemental_document"
175
- require_relative "increase/models/entity_update_beneficial_owner_address_params"
176
174
  require_relative "increase/models/entity_update_params"
177
175
  require_relative "increase/models/event"
178
176
  require_relative "increase/models/event_list_params"
@@ -247,9 +247,6 @@ module Increase
247
247
 
248
248
  Entity = Increase::Models::Entity
249
249
 
250
- EntityArchiveBeneficialOwnerParams =
251
- Increase::Models::EntityArchiveBeneficialOwnerParams
252
-
253
250
  EntityArchiveParams = Increase::Models::EntityArchiveParams
254
251
 
255
252
  EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
@@ -265,9 +262,6 @@ module Increase
265
262
 
266
263
  EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
267
264
 
268
- EntityUpdateBeneficialOwnerAddressParams =
269
- Increase::Models::EntityUpdateBeneficialOwnerAddressParams
270
-
271
265
  EntityUpdateParams = Increase::Models::EntityUpdateParams
272
266
 
273
267
  Event = Increase::Models::Event
@@ -167,25 +167,6 @@ module Increase
167
167
  )
168
168
  end
169
169
 
170
- # Archive a beneficial owner for a corporate Entity
171
- sig do
172
- params(
173
- entity_id: String,
174
- beneficial_owner_id: String,
175
- request_options: Increase::RequestOptions::OrHash
176
- ).returns(Increase::Entity)
177
- end
178
- def archive_beneficial_owner(
179
- # The identifier of the Entity associated with the Beneficial Owner that is being
180
- # archived.
181
- entity_id,
182
- # The identifying details of anyone controlling or owning 25% or more of the
183
- # corporation.
184
- beneficial_owner_id:,
185
- request_options: {}
186
- )
187
- end
188
-
189
170
  # Create a beneficial owner for a corporate Entity
190
171
  sig do
191
172
  params(
@@ -205,30 +186,6 @@ module Increase
205
186
  )
206
187
  end
207
188
 
208
- # Update the address for a beneficial owner belonging to a corporate Entity
209
- sig do
210
- params(
211
- entity_id: String,
212
- address:
213
- Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash,
214
- beneficial_owner_id: String,
215
- request_options: Increase::RequestOptions::OrHash
216
- ).returns(Increase::Entity)
217
- end
218
- def update_beneficial_owner_address(
219
- # The identifier of the Entity associated with the Beneficial Owner whose address
220
- # is being updated.
221
- entity_id,
222
- # The individual's physical address. Mail receiving locations like PO Boxes and
223
- # PMB's are disallowed.
224
- address:,
225
- # The identifying details of anyone controlling or owning 25% or more of the
226
- # corporation.
227
- beneficial_owner_id:,
228
- request_options: {}
229
- )
230
- end
231
-
232
189
  # @api private
233
190
  sig { params(client: Increase::Client).returns(T.attached_class) }
234
191
  def self.new(client:)
@@ -219,8 +219,6 @@ module Increase
219
219
 
220
220
  class Entity = Increase::Models::Entity
221
221
 
222
- class EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
223
-
224
222
  class EntityArchiveParams = Increase::Models::EntityArchiveParams
225
223
 
226
224
  class EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
@@ -235,8 +233,6 @@ module Increase
235
233
 
236
234
  class EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
237
235
 
238
- class EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
239
-
240
236
  class EntityUpdateParams = Increase::Models::EntityUpdateParams
241
237
 
242
238
  class Event = Increase::Models::Event
@@ -47,25 +47,12 @@ module Increase
47
47
  ?request_options: Increase::request_opts
48
48
  ) -> Increase::Entity
49
49
 
50
- def archive_beneficial_owner: (
51
- String entity_id,
52
- beneficial_owner_id: String,
53
- ?request_options: Increase::request_opts
54
- ) -> Increase::Entity
55
-
56
50
  def create_beneficial_owner: (
57
51
  String entity_id,
58
52
  beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
59
53
  ?request_options: Increase::request_opts
60
54
  ) -> Increase::Entity
61
55
 
62
- def update_beneficial_owner_address: (
63
- String entity_id,
64
- address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
65
- beneficial_owner_id: String,
66
- ?request_options: Increase::request_opts
67
- ) -> Increase::Entity
68
-
69
56
  def initialize: (client: Increase::Client) -> void
70
57
  end
71
58
  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.246.0
4
+ version: 1.247.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
@@ -194,7 +194,6 @@ files:
194
194
  - lib/increase/models/digital_wallet_token_list_params.rb
195
195
  - lib/increase/models/digital_wallet_token_retrieve_params.rb
196
196
  - lib/increase/models/entity.rb
197
- - lib/increase/models/entity_archive_beneficial_owner_params.rb
198
197
  - lib/increase/models/entity_archive_params.rb
199
198
  - lib/increase/models/entity_beneficial_owner.rb
200
199
  - lib/increase/models/entity_create_beneficial_owner_params.rb
@@ -202,7 +201,6 @@ files:
202
201
  - lib/increase/models/entity_list_params.rb
203
202
  - lib/increase/models/entity_retrieve_params.rb
204
203
  - lib/increase/models/entity_supplemental_document.rb
205
- - lib/increase/models/entity_update_beneficial_owner_address_params.rb
206
204
  - lib/increase/models/entity_update_params.rb
207
205
  - lib/increase/models/event.rb
208
206
  - lib/increase/models/event_list_params.rb
@@ -611,7 +609,6 @@ files:
611
609
  - rbi/increase/models/digital_wallet_token_list_params.rbi
612
610
  - rbi/increase/models/digital_wallet_token_retrieve_params.rbi
613
611
  - rbi/increase/models/entity.rbi
614
- - rbi/increase/models/entity_archive_beneficial_owner_params.rbi
615
612
  - rbi/increase/models/entity_archive_params.rbi
616
613
  - rbi/increase/models/entity_beneficial_owner.rbi
617
614
  - rbi/increase/models/entity_create_beneficial_owner_params.rbi
@@ -619,7 +616,6 @@ files:
619
616
  - rbi/increase/models/entity_list_params.rbi
620
617
  - rbi/increase/models/entity_retrieve_params.rbi
621
618
  - rbi/increase/models/entity_supplemental_document.rbi
622
- - rbi/increase/models/entity_update_beneficial_owner_address_params.rbi
623
619
  - rbi/increase/models/entity_update_params.rbi
624
620
  - rbi/increase/models/event.rbi
625
621
  - rbi/increase/models/event_list_params.rbi
@@ -1027,7 +1023,6 @@ files:
1027
1023
  - sig/increase/models/digital_wallet_token_list_params.rbs
1028
1024
  - sig/increase/models/digital_wallet_token_retrieve_params.rbs
1029
1025
  - sig/increase/models/entity.rbs
1030
- - sig/increase/models/entity_archive_beneficial_owner_params.rbs
1031
1026
  - sig/increase/models/entity_archive_params.rbs
1032
1027
  - sig/increase/models/entity_beneficial_owner.rbs
1033
1028
  - sig/increase/models/entity_create_beneficial_owner_params.rbs
@@ -1035,7 +1030,6 @@ files:
1035
1030
  - sig/increase/models/entity_list_params.rbs
1036
1031
  - sig/increase/models/entity_retrieve_params.rbs
1037
1032
  - sig/increase/models/entity_supplemental_document.rbs
1038
- - sig/increase/models/entity_update_beneficial_owner_address_params.rbs
1039
1033
  - sig/increase/models/entity_update_params.rbs
1040
1034
  - sig/increase/models/event.rbs
1041
1035
  - sig/increase/models/event_list_params.rbs
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Entities#archive_beneficial_owner
6
- class EntityArchiveBeneficialOwnerParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute entity_id
11
- # The identifier of the Entity associated with the Beneficial Owner that is being
12
- # archived.
13
- #
14
- # @return [String]
15
- required :entity_id, String
16
-
17
- # @!attribute beneficial_owner_id
18
- # The identifying details of anyone controlling or owning 25% or more of the
19
- # corporation.
20
- #
21
- # @return [String]
22
- required :beneficial_owner_id, String
23
-
24
- # @!method initialize(entity_id:, beneficial_owner_id:, request_options: {})
25
- # Some parameter documentations has been truncated, see
26
- # {Increase::Models::EntityArchiveBeneficialOwnerParams} for more details.
27
- #
28
- # @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner that is being
29
- #
30
- # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
31
- #
32
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
33
- end
34
- end
35
- end
@@ -1,103 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Entities#update_beneficial_owner_address
6
- class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute entity_id
11
- # The identifier of the Entity associated with the Beneficial Owner whose address
12
- # is being updated.
13
- #
14
- # @return [String]
15
- required :entity_id, String
16
-
17
- # @!attribute address
18
- # The individual's physical address. Mail receiving locations like PO Boxes and
19
- # PMB's are disallowed.
20
- #
21
- # @return [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address]
22
- required :address, -> { Increase::EntityUpdateBeneficialOwnerAddressParams::Address }
23
-
24
- # @!attribute beneficial_owner_id
25
- # The identifying details of anyone controlling or owning 25% or more of the
26
- # corporation.
27
- #
28
- # @return [String]
29
- required :beneficial_owner_id, String
30
-
31
- # @!method initialize(entity_id:, address:, beneficial_owner_id:, request_options: {})
32
- # Some parameter documentations has been truncated, see
33
- # {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details.
34
- #
35
- # @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner whose address
36
- #
37
- # @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
38
- #
39
- # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo
40
- #
41
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
42
-
43
- class Address < Increase::Internal::Type::BaseModel
44
- # @!attribute city
45
- # The city, district, town, or village of the address.
46
- #
47
- # @return [String]
48
- required :city, String
49
-
50
- # @!attribute country
51
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
52
- #
53
- # @return [String]
54
- required :country, String
55
-
56
- # @!attribute line1
57
- # The first line of the address. This is usually the street number and street.
58
- #
59
- # @return [String]
60
- required :line1, String
61
-
62
- # @!attribute line2
63
- # The second line of the address. This might be the floor or room number.
64
- #
65
- # @return [String, nil]
66
- optional :line2, String
67
-
68
- # @!attribute state
69
- # The two-letter United States Postal Service (USPS) abbreviation for the US
70
- # state, province, or region of the address. Required in certain countries.
71
- #
72
- # @return [String, nil]
73
- optional :state, String
74
-
75
- # @!attribute zip
76
- # The ZIP or postal code of the address. Required in certain countries.
77
- #
78
- # @return [String, nil]
79
- optional :zip, String
80
-
81
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
82
- # Some parameter documentations has been truncated, see
83
- # {Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address} for more
84
- # details.
85
- #
86
- # The individual's physical address. Mail receiving locations like PO Boxes and
87
- # PMB's are disallowed.
88
- #
89
- # @param city [String] The city, district, town, or village of the address.
90
- #
91
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
92
- #
93
- # @param line1 [String] The first line of the address. This is usually the street number and street.
94
- #
95
- # @param line2 [String] The second line of the address. This might be the floor or room number.
96
- #
97
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
98
- #
99
- # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
100
- end
101
- end
102
- end
103
- end
@@ -1,58 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class EntityArchiveBeneficialOwnerParams < 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::EntityArchiveBeneficialOwnerParams,
13
- Increase::Internal::AnyHash
14
- )
15
- end
16
-
17
- # The identifier of the Entity associated with the Beneficial Owner that is being
18
- # archived.
19
- sig { returns(String) }
20
- attr_accessor :entity_id
21
-
22
- # The identifying details of anyone controlling or owning 25% or more of the
23
- # corporation.
24
- sig { returns(String) }
25
- attr_accessor :beneficial_owner_id
26
-
27
- sig do
28
- params(
29
- entity_id: String,
30
- beneficial_owner_id: String,
31
- request_options: Increase::RequestOptions::OrHash
32
- ).returns(T.attached_class)
33
- end
34
- def self.new(
35
- # The identifier of the Entity associated with the Beneficial Owner that is being
36
- # archived.
37
- entity_id:,
38
- # The identifying details of anyone controlling or owning 25% or more of the
39
- # corporation.
40
- beneficial_owner_id:,
41
- request_options: {}
42
- )
43
- end
44
-
45
- sig do
46
- override.returns(
47
- {
48
- entity_id: String,
49
- beneficial_owner_id: String,
50
- request_options: Increase::RequestOptions
51
- }
52
- )
53
- end
54
- def to_hash
55
- end
56
- end
57
- end
58
- end
@@ -1,168 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class EntityUpdateBeneficialOwnerAddressParams < 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::EntityUpdateBeneficialOwnerAddressParams,
13
- Increase::Internal::AnyHash
14
- )
15
- end
16
-
17
- # The identifier of the Entity associated with the Beneficial Owner whose address
18
- # is being updated.
19
- sig { returns(String) }
20
- attr_accessor :entity_id
21
-
22
- # The individual's physical address. Mail receiving locations like PO Boxes and
23
- # PMB's are disallowed.
24
- sig do
25
- returns(Increase::EntityUpdateBeneficialOwnerAddressParams::Address)
26
- end
27
- attr_reader :address
28
-
29
- sig do
30
- params(
31
- address:
32
- Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash
33
- ).void
34
- end
35
- attr_writer :address
36
-
37
- # The identifying details of anyone controlling or owning 25% or more of the
38
- # corporation.
39
- sig { returns(String) }
40
- attr_accessor :beneficial_owner_id
41
-
42
- sig do
43
- params(
44
- entity_id: String,
45
- address:
46
- Increase::EntityUpdateBeneficialOwnerAddressParams::Address::OrHash,
47
- beneficial_owner_id: String,
48
- request_options: Increase::RequestOptions::OrHash
49
- ).returns(T.attached_class)
50
- end
51
- def self.new(
52
- # The identifier of the Entity associated with the Beneficial Owner whose address
53
- # is being updated.
54
- entity_id:,
55
- # The individual's physical address. Mail receiving locations like PO Boxes and
56
- # PMB's are disallowed.
57
- address:,
58
- # The identifying details of anyone controlling or owning 25% or more of the
59
- # corporation.
60
- beneficial_owner_id:,
61
- request_options: {}
62
- )
63
- end
64
-
65
- sig do
66
- override.returns(
67
- {
68
- entity_id: String,
69
- address:
70
- Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
71
- beneficial_owner_id: String,
72
- request_options: Increase::RequestOptions
73
- }
74
- )
75
- end
76
- def to_hash
77
- end
78
-
79
- class Address < Increase::Internal::Type::BaseModel
80
- OrHash =
81
- T.type_alias do
82
- T.any(
83
- Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
84
- Increase::Internal::AnyHash
85
- )
86
- end
87
-
88
- # The city, district, town, or village of the address.
89
- sig { returns(String) }
90
- attr_accessor :city
91
-
92
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
93
- sig { returns(String) }
94
- attr_accessor :country
95
-
96
- # The first line of the address. This is usually the street number and street.
97
- sig { returns(String) }
98
- attr_accessor :line1
99
-
100
- # The second line of the address. This might be the floor or room number.
101
- sig { returns(T.nilable(String)) }
102
- attr_reader :line2
103
-
104
- sig { params(line2: String).void }
105
- attr_writer :line2
106
-
107
- # The two-letter United States Postal Service (USPS) abbreviation for the US
108
- # state, province, or region of the address. Required in certain countries.
109
- sig { returns(T.nilable(String)) }
110
- attr_reader :state
111
-
112
- sig { params(state: String).void }
113
- attr_writer :state
114
-
115
- # The ZIP or postal code of the address. Required in certain countries.
116
- sig { returns(T.nilable(String)) }
117
- attr_reader :zip
118
-
119
- sig { params(zip: String).void }
120
- attr_writer :zip
121
-
122
- # The individual's physical address. Mail receiving locations like PO Boxes and
123
- # PMB's are disallowed.
124
- sig do
125
- params(
126
- city: String,
127
- country: String,
128
- line1: String,
129
- line2: String,
130
- state: String,
131
- zip: String
132
- ).returns(T.attached_class)
133
- end
134
- def self.new(
135
- # The city, district, town, or village of the address.
136
- city:,
137
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
138
- country:,
139
- # The first line of the address. This is usually the street number and street.
140
- line1:,
141
- # The second line of the address. This might be the floor or room number.
142
- line2: nil,
143
- # The two-letter United States Postal Service (USPS) abbreviation for the US
144
- # state, province, or region of the address. Required in certain countries.
145
- state: nil,
146
- # The ZIP or postal code of the address. Required in certain countries.
147
- zip: nil
148
- )
149
- end
150
-
151
- sig do
152
- override.returns(
153
- {
154
- city: String,
155
- country: String,
156
- line1: String,
157
- line2: String,
158
- state: String,
159
- zip: String
160
- }
161
- )
162
- end
163
- def to_hash
164
- end
165
- end
166
- end
167
- end
168
- end
@@ -1,28 +0,0 @@
1
- module Increase
2
- module Models
3
- type entity_archive_beneficial_owner_params =
4
- { entity_id: String, beneficial_owner_id: String }
5
- & Increase::Internal::Type::request_parameters
6
-
7
- class EntityArchiveBeneficialOwnerParams < Increase::Internal::Type::BaseModel
8
- extend Increase::Internal::Type::RequestParameters::Converter
9
- include Increase::Internal::Type::RequestParameters
10
-
11
- attr_accessor entity_id: String
12
-
13
- attr_accessor beneficial_owner_id: String
14
-
15
- def initialize: (
16
- entity_id: String,
17
- beneficial_owner_id: String,
18
- ?request_options: Increase::request_opts
19
- ) -> void
20
-
21
- def to_hash: -> {
22
- entity_id: String,
23
- beneficial_owner_id: String,
24
- request_options: Increase::RequestOptions
25
- }
26
- end
27
- end
28
- end
@@ -1,84 +0,0 @@
1
- module Increase
2
- module Models
3
- type entity_update_beneficial_owner_address_params =
4
- {
5
- entity_id: String,
6
- address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
7
- beneficial_owner_id: String
8
- }
9
- & Increase::Internal::Type::request_parameters
10
-
11
- class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseModel
12
- extend Increase::Internal::Type::RequestParameters::Converter
13
- include Increase::Internal::Type::RequestParameters
14
-
15
- attr_accessor entity_id: String
16
-
17
- attr_accessor address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address
18
-
19
- attr_accessor beneficial_owner_id: String
20
-
21
- def initialize: (
22
- entity_id: String,
23
- address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
24
- beneficial_owner_id: String,
25
- ?request_options: Increase::request_opts
26
- ) -> void
27
-
28
- def to_hash: -> {
29
- entity_id: String,
30
- address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
31
- beneficial_owner_id: String,
32
- request_options: Increase::RequestOptions
33
- }
34
-
35
- type address =
36
- {
37
- city: String,
38
- country: String,
39
- :line1 => String,
40
- :line2 => String,
41
- state: String,
42
- zip: String
43
- }
44
-
45
- class Address < Increase::Internal::Type::BaseModel
46
- attr_accessor city: String
47
-
48
- attr_accessor country: String
49
-
50
- attr_accessor line1: String
51
-
52
- attr_reader line2: String?
53
-
54
- def line2=: (String) -> String
55
-
56
- attr_reader state: String?
57
-
58
- def state=: (String) -> String
59
-
60
- attr_reader zip: String?
61
-
62
- def zip=: (String) -> String
63
-
64
- def initialize: (
65
- city: String,
66
- country: String,
67
- line1: String,
68
- ?line2: String,
69
- ?state: String,
70
- ?zip: String
71
- ) -> void
72
-
73
- def to_hash: -> {
74
- city: String,
75
- country: String,
76
- :line1 => String,
77
- :line2 => String,
78
- state: String,
79
- zip: String
80
- }
81
- end
82
- end
83
- end
84
- end