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
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_create_beneficial_owner_params =
|
|
4
|
-
{
|
|
5
|
-
entity_id: String,
|
|
6
|
-
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner
|
|
7
|
-
}
|
|
8
|
-
& Increase::Internal::Type::request_parameters
|
|
9
|
-
|
|
10
|
-
class EntityCreateBeneficialOwnerParams < Increase::Internal::Type::BaseModel
|
|
11
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
12
|
-
include Increase::Internal::Type::RequestParameters
|
|
13
|
-
|
|
14
|
-
attr_accessor entity_id: String
|
|
15
|
-
|
|
16
|
-
attr_accessor beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner
|
|
17
|
-
|
|
18
|
-
def initialize: (
|
|
19
|
-
entity_id: String,
|
|
20
|
-
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
|
|
21
|
-
?request_options: Increase::request_opts
|
|
22
|
-
) -> void
|
|
23
|
-
|
|
24
|
-
def to_hash: -> {
|
|
25
|
-
entity_id: String,
|
|
26
|
-
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
|
|
27
|
-
request_options: Increase::RequestOptions
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
type beneficial_owner =
|
|
31
|
-
{
|
|
32
|
-
individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual,
|
|
33
|
-
prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong],
|
|
34
|
-
company_title: String
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
|
38
|
-
attr_accessor individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual
|
|
39
|
-
|
|
40
|
-
attr_accessor prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong]
|
|
41
|
-
|
|
42
|
-
attr_reader company_title: String?
|
|
43
|
-
|
|
44
|
-
def company_title=: (String) -> String
|
|
45
|
-
|
|
46
|
-
def initialize: (
|
|
47
|
-
individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual,
|
|
48
|
-
prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong],
|
|
49
|
-
?company_title: String
|
|
50
|
-
) -> void
|
|
51
|
-
|
|
52
|
-
def to_hash: -> {
|
|
53
|
-
individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual,
|
|
54
|
-
prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong],
|
|
55
|
-
company_title: String
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
type individual =
|
|
59
|
-
{
|
|
60
|
-
address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address,
|
|
61
|
-
date_of_birth: Date,
|
|
62
|
-
identification: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification,
|
|
63
|
-
name: String,
|
|
64
|
-
confirmed_no_us_tax_id: bool
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
class Individual < Increase::Internal::Type::BaseModel
|
|
68
|
-
attr_accessor address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address
|
|
69
|
-
|
|
70
|
-
attr_accessor date_of_birth: Date
|
|
71
|
-
|
|
72
|
-
attr_accessor identification: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification
|
|
73
|
-
|
|
74
|
-
attr_accessor name: String
|
|
75
|
-
|
|
76
|
-
attr_reader confirmed_no_us_tax_id: bool?
|
|
77
|
-
|
|
78
|
-
def confirmed_no_us_tax_id=: (bool) -> bool
|
|
79
|
-
|
|
80
|
-
def initialize: (
|
|
81
|
-
address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address,
|
|
82
|
-
date_of_birth: Date,
|
|
83
|
-
identification: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification,
|
|
84
|
-
name: String,
|
|
85
|
-
?confirmed_no_us_tax_id: bool
|
|
86
|
-
) -> void
|
|
87
|
-
|
|
88
|
-
def to_hash: -> {
|
|
89
|
-
address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address,
|
|
90
|
-
date_of_birth: Date,
|
|
91
|
-
identification: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification,
|
|
92
|
-
name: String,
|
|
93
|
-
confirmed_no_us_tax_id: bool
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type address =
|
|
97
|
-
{
|
|
98
|
-
city: String,
|
|
99
|
-
country: String,
|
|
100
|
-
:line1 => String,
|
|
101
|
-
:line2 => String,
|
|
102
|
-
state: String,
|
|
103
|
-
zip: String
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
107
|
-
attr_accessor city: String
|
|
108
|
-
|
|
109
|
-
attr_accessor country: String
|
|
110
|
-
|
|
111
|
-
attr_accessor line1: String
|
|
112
|
-
|
|
113
|
-
attr_reader line2: String?
|
|
114
|
-
|
|
115
|
-
def line2=: (String) -> String
|
|
116
|
-
|
|
117
|
-
attr_reader state: String?
|
|
118
|
-
|
|
119
|
-
def state=: (String) -> String
|
|
120
|
-
|
|
121
|
-
attr_reader zip: String?
|
|
122
|
-
|
|
123
|
-
def zip=: (String) -> String
|
|
124
|
-
|
|
125
|
-
def initialize: (
|
|
126
|
-
city: String,
|
|
127
|
-
country: String,
|
|
128
|
-
line1: String,
|
|
129
|
-
?line2: String,
|
|
130
|
-
?state: String,
|
|
131
|
-
?zip: String
|
|
132
|
-
) -> void
|
|
133
|
-
|
|
134
|
-
def to_hash: -> {
|
|
135
|
-
city: String,
|
|
136
|
-
country: String,
|
|
137
|
-
:line1 => String,
|
|
138
|
-
:line2 => String,
|
|
139
|
-
state: String,
|
|
140
|
-
zip: String
|
|
141
|
-
}
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
type identification =
|
|
145
|
-
{
|
|
146
|
-
method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_,
|
|
147
|
-
number: String,
|
|
148
|
-
drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense,
|
|
149
|
-
other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other,
|
|
150
|
-
passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
class Identification < Increase::Internal::Type::BaseModel
|
|
154
|
-
attr_accessor method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_
|
|
155
|
-
|
|
156
|
-
attr_accessor number: String
|
|
157
|
-
|
|
158
|
-
attr_reader drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense?
|
|
159
|
-
|
|
160
|
-
def drivers_license=: (
|
|
161
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense
|
|
162
|
-
) -> Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense
|
|
163
|
-
|
|
164
|
-
attr_reader other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other?
|
|
165
|
-
|
|
166
|
-
def other=: (
|
|
167
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other
|
|
168
|
-
) -> Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other
|
|
169
|
-
|
|
170
|
-
attr_reader passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport?
|
|
171
|
-
|
|
172
|
-
def passport=: (
|
|
173
|
-
Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
174
|
-
) -> Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
175
|
-
|
|
176
|
-
def initialize: (
|
|
177
|
-
method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_,
|
|
178
|
-
number: String,
|
|
179
|
-
?drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense,
|
|
180
|
-
?other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other,
|
|
181
|
-
?passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
182
|
-
) -> void
|
|
183
|
-
|
|
184
|
-
def to_hash: -> {
|
|
185
|
-
method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_,
|
|
186
|
-
number: String,
|
|
187
|
-
drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense,
|
|
188
|
-
other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other,
|
|
189
|
-
passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
type method_ =
|
|
193
|
-
:social_security_number
|
|
194
|
-
| :individual_taxpayer_identification_number
|
|
195
|
-
| :passport
|
|
196
|
-
| :drivers_license
|
|
197
|
-
| :other
|
|
198
|
-
|
|
199
|
-
module Method
|
|
200
|
-
extend Increase::Internal::Type::Enum
|
|
201
|
-
|
|
202
|
-
# A social security number.
|
|
203
|
-
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
204
|
-
|
|
205
|
-
# An individual taxpayer identification number (ITIN).
|
|
206
|
-
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
207
|
-
|
|
208
|
-
# A passport number.
|
|
209
|
-
PASSPORT: :passport
|
|
210
|
-
|
|
211
|
-
# A driver's license number.
|
|
212
|
-
DRIVERS_LICENSE: :drivers_license
|
|
213
|
-
|
|
214
|
-
# Another identifying document.
|
|
215
|
-
OTHER: :other
|
|
216
|
-
|
|
217
|
-
def self?.values: -> ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_]
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
type drivers_license =
|
|
221
|
-
{
|
|
222
|
-
expiration_date: Date,
|
|
223
|
-
file_id: String,
|
|
224
|
-
state: String,
|
|
225
|
-
back_file_id: String
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
229
|
-
attr_accessor expiration_date: Date
|
|
230
|
-
|
|
231
|
-
attr_accessor file_id: String
|
|
232
|
-
|
|
233
|
-
attr_accessor state: String
|
|
234
|
-
|
|
235
|
-
attr_reader back_file_id: String?
|
|
236
|
-
|
|
237
|
-
def back_file_id=: (String) -> String
|
|
238
|
-
|
|
239
|
-
def initialize: (
|
|
240
|
-
expiration_date: Date,
|
|
241
|
-
file_id: String,
|
|
242
|
-
state: String,
|
|
243
|
-
?back_file_id: String
|
|
244
|
-
) -> void
|
|
245
|
-
|
|
246
|
-
def to_hash: -> {
|
|
247
|
-
expiration_date: Date,
|
|
248
|
-
file_id: String,
|
|
249
|
-
state: String,
|
|
250
|
-
back_file_id: String
|
|
251
|
-
}
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
type other =
|
|
255
|
-
{
|
|
256
|
-
country: String,
|
|
257
|
-
description: String,
|
|
258
|
-
file_id: String,
|
|
259
|
-
back_file_id: String,
|
|
260
|
-
expiration_date: Date
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
class Other < Increase::Internal::Type::BaseModel
|
|
264
|
-
attr_accessor country: String
|
|
265
|
-
|
|
266
|
-
attr_accessor description: String
|
|
267
|
-
|
|
268
|
-
attr_accessor file_id: String
|
|
269
|
-
|
|
270
|
-
attr_reader back_file_id: String?
|
|
271
|
-
|
|
272
|
-
def back_file_id=: (String) -> String
|
|
273
|
-
|
|
274
|
-
attr_reader expiration_date: Date?
|
|
275
|
-
|
|
276
|
-
def expiration_date=: (Date) -> Date
|
|
277
|
-
|
|
278
|
-
def initialize: (
|
|
279
|
-
country: String,
|
|
280
|
-
description: String,
|
|
281
|
-
file_id: String,
|
|
282
|
-
?back_file_id: String,
|
|
283
|
-
?expiration_date: Date
|
|
284
|
-
) -> void
|
|
285
|
-
|
|
286
|
-
def to_hash: -> {
|
|
287
|
-
country: String,
|
|
288
|
-
description: String,
|
|
289
|
-
file_id: String,
|
|
290
|
-
back_file_id: String,
|
|
291
|
-
expiration_date: Date
|
|
292
|
-
}
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
type passport =
|
|
296
|
-
{ country: String, expiration_date: Date, file_id: String }
|
|
297
|
-
|
|
298
|
-
class Passport < Increase::Internal::Type::BaseModel
|
|
299
|
-
attr_accessor country: String
|
|
300
|
-
|
|
301
|
-
attr_accessor expiration_date: Date
|
|
302
|
-
|
|
303
|
-
attr_accessor file_id: String
|
|
304
|
-
|
|
305
|
-
def initialize: (
|
|
306
|
-
country: String,
|
|
307
|
-
expiration_date: Date,
|
|
308
|
-
file_id: String
|
|
309
|
-
) -> void
|
|
310
|
-
|
|
311
|
-
def to_hash: -> {
|
|
312
|
-
country: String,
|
|
313
|
-
expiration_date: Date,
|
|
314
|
-
file_id: String
|
|
315
|
-
}
|
|
316
|
-
end
|
|
317
|
-
end
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
type prong = :ownership | :control
|
|
321
|
-
|
|
322
|
-
module Prong
|
|
323
|
-
extend Increase::Internal::Type::Enum
|
|
324
|
-
|
|
325
|
-
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
326
|
-
OWNERSHIP: :ownership
|
|
327
|
-
|
|
328
|
-
# A person who manages, directs, or has significant control of the entity.
|
|
329
|
-
CONTROL: :control
|
|
330
|
-
|
|
331
|
-
def self?.values: -> ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong]
|
|
332
|
-
end
|
|
333
|
-
end
|
|
334
|
-
end
|
|
335
|
-
end
|
|
336
|
-
end
|