increase 1.250.0 → 1.252.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 +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +1 -1
- data/lib/increase/models/card_push_transfer.rb +9 -1
- data/lib/increase/models/entity.rb +207 -3
- data/lib/increase/models/entity_beneficial_owner.rb +9 -1
- data/lib/increase/models.rb +0 -2
- data/lib/increase/resources/entities.rb +0 -27
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -1
- data/rbi/increase/models/card_push_transfer.rbi +8 -0
- data/rbi/increase/models/entity.rbi +403 -3
- data/rbi/increase/models/entity_beneficial_owner.rbi +8 -0
- data/rbi/increase/models.rbi +0 -3
- data/rbi/increase/resources/entities.rbi +0 -19
- data/sig/increase/models/card_push_transfer.rbs +5 -0
- data/sig/increase/models/entity.rbs +174 -4
- data/sig/increase/models/entity_beneficial_owner.rbs +5 -0
- data/sig/increase/models.rbs +0 -2
- data/sig/increase/resources/entities.rbs +0 -6
- metadata +1 -4
- data/lib/increase/models/entity_create_beneficial_owner_params.rb +0 -414
- data/rbi/increase/models/entity_create_beneficial_owner_params.rbi +0 -769
- data/sig/increase/models/entity_create_beneficial_owner_params.rbs +0 -336
|
@@ -99,7 +99,7 @@ module Increase
|
|
|
99
99
|
type corporation =
|
|
100
100
|
{
|
|
101
101
|
address: Increase::Entity::Corporation::Address,
|
|
102
|
-
beneficial_owners: ::Array[Increase::
|
|
102
|
+
beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
|
|
103
103
|
email: String?,
|
|
104
104
|
incorporation_state: String?,
|
|
105
105
|
industry_code: String?,
|
|
@@ -111,7 +111,7 @@ module Increase
|
|
|
111
111
|
class Corporation < Increase::Internal::Type::BaseModel
|
|
112
112
|
attr_accessor address: Increase::Entity::Corporation::Address
|
|
113
113
|
|
|
114
|
-
attr_accessor beneficial_owners: ::Array[Increase::
|
|
114
|
+
attr_accessor beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner]
|
|
115
115
|
|
|
116
116
|
attr_accessor email: String?
|
|
117
117
|
|
|
@@ -127,7 +127,7 @@ module Increase
|
|
|
127
127
|
|
|
128
128
|
def initialize: (
|
|
129
129
|
address: Increase::Entity::Corporation::Address,
|
|
130
|
-
beneficial_owners: ::Array[Increase::
|
|
130
|
+
beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
|
|
131
131
|
email: String?,
|
|
132
132
|
incorporation_state: String?,
|
|
133
133
|
industry_code: String?,
|
|
@@ -138,7 +138,7 @@ module Increase
|
|
|
138
138
|
|
|
139
139
|
def to_hash: -> {
|
|
140
140
|
address: Increase::Entity::Corporation::Address,
|
|
141
|
-
beneficial_owners: ::Array[Increase::
|
|
141
|
+
beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
|
|
142
142
|
email: String?,
|
|
143
143
|
incorporation_state: String?,
|
|
144
144
|
industry_code: String?,
|
|
@@ -183,6 +183,176 @@ module Increase
|
|
|
183
183
|
zip: String
|
|
184
184
|
}
|
|
185
185
|
end
|
|
186
|
+
|
|
187
|
+
type beneficial_owner =
|
|
188
|
+
{
|
|
189
|
+
id: String,
|
|
190
|
+
company_title: String?,
|
|
191
|
+
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
192
|
+
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
|
196
|
+
attr_accessor id: String
|
|
197
|
+
|
|
198
|
+
attr_accessor company_title: String?
|
|
199
|
+
|
|
200
|
+
attr_accessor individual: Increase::Entity::Corporation::BeneficialOwner::Individual
|
|
201
|
+
|
|
202
|
+
attr_accessor prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
203
|
+
|
|
204
|
+
def initialize: (
|
|
205
|
+
id: String,
|
|
206
|
+
company_title: String?,
|
|
207
|
+
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
208
|
+
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
209
|
+
) -> void
|
|
210
|
+
|
|
211
|
+
def to_hash: -> {
|
|
212
|
+
id: String,
|
|
213
|
+
company_title: String?,
|
|
214
|
+
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
215
|
+
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
type individual =
|
|
219
|
+
{
|
|
220
|
+
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
221
|
+
date_of_birth: Date,
|
|
222
|
+
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
223
|
+
name: String
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
class Individual < Increase::Internal::Type::BaseModel
|
|
227
|
+
attr_accessor address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address
|
|
228
|
+
|
|
229
|
+
attr_accessor date_of_birth: Date
|
|
230
|
+
|
|
231
|
+
attr_accessor identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification
|
|
232
|
+
|
|
233
|
+
attr_accessor name: String
|
|
234
|
+
|
|
235
|
+
def initialize: (
|
|
236
|
+
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
237
|
+
date_of_birth: Date,
|
|
238
|
+
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
239
|
+
name: String
|
|
240
|
+
) -> void
|
|
241
|
+
|
|
242
|
+
def to_hash: -> {
|
|
243
|
+
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
244
|
+
date_of_birth: Date,
|
|
245
|
+
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
246
|
+
name: String
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
type address =
|
|
250
|
+
{
|
|
251
|
+
city: String?,
|
|
252
|
+
country: String,
|
|
253
|
+
:line1 => String,
|
|
254
|
+
:line2 => String?,
|
|
255
|
+
state: String?,
|
|
256
|
+
zip: String?
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
260
|
+
attr_accessor city: String?
|
|
261
|
+
|
|
262
|
+
attr_accessor country: String
|
|
263
|
+
|
|
264
|
+
attr_accessor line1: String
|
|
265
|
+
|
|
266
|
+
attr_accessor line2: String?
|
|
267
|
+
|
|
268
|
+
attr_accessor state: String?
|
|
269
|
+
|
|
270
|
+
attr_accessor zip: String?
|
|
271
|
+
|
|
272
|
+
def initialize: (
|
|
273
|
+
city: String?,
|
|
274
|
+
country: String,
|
|
275
|
+
line1: String,
|
|
276
|
+
line2: String?,
|
|
277
|
+
state: String?,
|
|
278
|
+
zip: String?
|
|
279
|
+
) -> void
|
|
280
|
+
|
|
281
|
+
def to_hash: -> {
|
|
282
|
+
city: String?,
|
|
283
|
+
country: String,
|
|
284
|
+
:line1 => String,
|
|
285
|
+
:line2 => String?,
|
|
286
|
+
state: String?,
|
|
287
|
+
zip: String?
|
|
288
|
+
}
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
type identification =
|
|
292
|
+
{
|
|
293
|
+
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
294
|
+
:number_last4 => String
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
298
|
+
attr_accessor method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_
|
|
299
|
+
|
|
300
|
+
attr_accessor number_last4: String
|
|
301
|
+
|
|
302
|
+
def initialize: (
|
|
303
|
+
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
304
|
+
number_last4: String
|
|
305
|
+
) -> void
|
|
306
|
+
|
|
307
|
+
def to_hash: -> {
|
|
308
|
+
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
309
|
+
:number_last4 => String
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
type method_ =
|
|
313
|
+
:social_security_number
|
|
314
|
+
| :individual_taxpayer_identification_number
|
|
315
|
+
| :passport
|
|
316
|
+
| :drivers_license
|
|
317
|
+
| :other
|
|
318
|
+
|
|
319
|
+
module Method
|
|
320
|
+
extend Increase::Internal::Type::Enum
|
|
321
|
+
|
|
322
|
+
# A social security number.
|
|
323
|
+
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
324
|
+
|
|
325
|
+
# An individual taxpayer identification number (ITIN).
|
|
326
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
327
|
+
|
|
328
|
+
# A passport number.
|
|
329
|
+
PASSPORT: :passport
|
|
330
|
+
|
|
331
|
+
# A driver's license number.
|
|
332
|
+
DRIVERS_LICENSE: :drivers_license
|
|
333
|
+
|
|
334
|
+
# Another identifying document.
|
|
335
|
+
OTHER: :other
|
|
336
|
+
|
|
337
|
+
def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_]
|
|
338
|
+
end
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
type prong = :ownership | :control
|
|
343
|
+
|
|
344
|
+
module Prong
|
|
345
|
+
extend Increase::Internal::Type::Enum
|
|
346
|
+
|
|
347
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
348
|
+
OWNERSHIP: :ownership
|
|
349
|
+
|
|
350
|
+
# A person who manages, directs, or has significant control of the entity.
|
|
351
|
+
CONTROL: :control
|
|
352
|
+
|
|
353
|
+
def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
354
|
+
end
|
|
355
|
+
end
|
|
186
356
|
end
|
|
187
357
|
|
|
188
358
|
type government_authority =
|
|
@@ -5,6 +5,7 @@ module Increase
|
|
|
5
5
|
id: String,
|
|
6
6
|
company_title: String?,
|
|
7
7
|
created_at: Time,
|
|
8
|
+
entity_id: String,
|
|
8
9
|
idempotency_key: String?,
|
|
9
10
|
individual: Increase::EntityBeneficialOwner::Individual,
|
|
10
11
|
prongs: ::Array[Increase::Models::EntityBeneficialOwner::prong],
|
|
@@ -18,6 +19,8 @@ module Increase
|
|
|
18
19
|
|
|
19
20
|
attr_accessor created_at: Time
|
|
20
21
|
|
|
22
|
+
attr_accessor entity_id: String
|
|
23
|
+
|
|
21
24
|
attr_accessor idempotency_key: String?
|
|
22
25
|
|
|
23
26
|
attr_accessor individual: Increase::EntityBeneficialOwner::Individual
|
|
@@ -30,6 +33,7 @@ module Increase
|
|
|
30
33
|
id: String,
|
|
31
34
|
company_title: String?,
|
|
32
35
|
created_at: Time,
|
|
36
|
+
entity_id: String,
|
|
33
37
|
idempotency_key: String?,
|
|
34
38
|
individual: Increase::EntityBeneficialOwner::Individual,
|
|
35
39
|
prongs: ::Array[Increase::Models::EntityBeneficialOwner::prong],
|
|
@@ -40,6 +44,7 @@ module Increase
|
|
|
40
44
|
id: String,
|
|
41
45
|
company_title: String?,
|
|
42
46
|
created_at: Time,
|
|
47
|
+
entity_id: String,
|
|
43
48
|
idempotency_key: String?,
|
|
44
49
|
individual: Increase::EntityBeneficialOwner::Individual,
|
|
45
50
|
prongs: ::Array[Increase::Models::EntityBeneficialOwner::prong],
|
data/sig/increase/models.rbs
CHANGED
|
@@ -225,8 +225,6 @@ module Increase
|
|
|
225
225
|
|
|
226
226
|
class EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner
|
|
227
227
|
|
|
228
|
-
class EntityCreateBeneficialOwnerParams = Increase::Models::EntityCreateBeneficialOwnerParams
|
|
229
|
-
|
|
230
228
|
class EntityCreateParams = Increase::Models::EntityCreateParams
|
|
231
229
|
|
|
232
230
|
class EntityListParams = Increase::Models::EntityListParams
|
|
@@ -47,12 +47,6 @@ module Increase
|
|
|
47
47
|
?request_options: Increase::request_opts
|
|
48
48
|
) -> Increase::Entity
|
|
49
49
|
|
|
50
|
-
def create_beneficial_owner: (
|
|
51
|
-
String entity_id,
|
|
52
|
-
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
|
|
53
|
-
?request_options: Increase::request_opts
|
|
54
|
-
) -> Increase::Entity
|
|
55
|
-
|
|
56
50
|
def initialize: (client: Increase::Client) -> void
|
|
57
51
|
end
|
|
58
52
|
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.
|
|
4
|
+
version: 1.252.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
@@ -197,7 +197,6 @@ files:
|
|
|
197
197
|
- lib/increase/models/entity.rb
|
|
198
198
|
- lib/increase/models/entity_archive_params.rb
|
|
199
199
|
- lib/increase/models/entity_beneficial_owner.rb
|
|
200
|
-
- lib/increase/models/entity_create_beneficial_owner_params.rb
|
|
201
200
|
- lib/increase/models/entity_create_params.rb
|
|
202
201
|
- lib/increase/models/entity_list_params.rb
|
|
203
202
|
- lib/increase/models/entity_retrieve_params.rb
|
|
@@ -613,7 +612,6 @@ files:
|
|
|
613
612
|
- rbi/increase/models/entity.rbi
|
|
614
613
|
- rbi/increase/models/entity_archive_params.rbi
|
|
615
614
|
- rbi/increase/models/entity_beneficial_owner.rbi
|
|
616
|
-
- rbi/increase/models/entity_create_beneficial_owner_params.rbi
|
|
617
615
|
- rbi/increase/models/entity_create_params.rbi
|
|
618
616
|
- rbi/increase/models/entity_list_params.rbi
|
|
619
617
|
- rbi/increase/models/entity_retrieve_params.rbi
|
|
@@ -1028,7 +1026,6 @@ files:
|
|
|
1028
1026
|
- sig/increase/models/entity.rbs
|
|
1029
1027
|
- sig/increase/models/entity_archive_params.rbs
|
|
1030
1028
|
- sig/increase/models/entity_beneficial_owner.rbs
|
|
1031
|
-
- sig/increase/models/entity_create_beneficial_owner_params.rbs
|
|
1032
1029
|
- sig/increase/models/entity_create_params.rbs
|
|
1033
1030
|
- sig/increase/models/entity_list_params.rbs
|
|
1034
1031
|
- sig/increase/models/entity_retrieve_params.rbs
|