increase 1.219.0 → 1.221.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 +21 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +17 -1
- data/lib/increase/models.rb +0 -6
- data/lib/increase/resources/entities.rb +0 -83
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -3
- data/rbi/increase/models/card_payment.rbi +16 -0
- data/rbi/increase/models.rbi +0 -7
- data/rbi/increase/resources/entities.rbi +0 -59
- data/sig/increase/models/card_payment.rbs +10 -0
- data/sig/increase/models.rbs +0 -6
- data/sig/increase/resources/entities.rbs +0 -18
- metadata +1 -10
- data/lib/increase/models/entity_confirm_params.rb +0 -26
- data/lib/increase/models/entity_update_address_params.rb +0 -76
- data/lib/increase/models/entity_update_industry_code_params.rb +0 -28
- data/rbi/increase/models/entity_confirm_params.rbi +0 -45
- data/rbi/increase/models/entity_update_address_params.rbi +0 -129
- data/rbi/increase/models/entity_update_industry_code_params.rbi +0 -49
- data/sig/increase/models/entity_confirm_params.rbs +0 -25
- data/sig/increase/models/entity_update_address_params.rbs +0 -63
- data/sig/increase/models/entity_update_industry_code_params.rbs +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 470d9979afdf7a5b130e7a868bd8586c48e99b42ddbca8bf136ef597019494c2
|
|
4
|
+
data.tar.gz: 182f6d8497882c85ef0e199960429ef82917fbc6ca4e8427528d2e5fb1224fe5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac23ef41e6b5aad664b611b80904eac3619dd1c4b98f97bae484f7d8652a52bc1bb858383e35f4079498be8573afab4d70f351523d24b7bb0eda45d6cecea504
|
|
7
|
+
data.tar.gz: c3bc3836ad314da413a5f2a6051aeb5bf1c0b2aa0c0e4781cbc6aea0905f98b05ab61e07d29e53df548c3f41ec7a82b72d679f777cd9fadf8557b17900d3c1cb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.221.0 (2026-03-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.220.0...v1.221.0](https://github.com/Increase/increase-ruby/compare/v1.220.0...v1.221.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([3cd867c](https://github.com/Increase/increase-ruby/commit/3cd867cb677a1d99441f21b30a25da513faf9a70))
|
|
10
|
+
|
|
11
|
+
## 1.220.0 (2026-03-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.219.0...v1.220.0](https://github.com/Increase/increase-ruby/compare/v1.219.0...v1.220.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([e1baf82](https://github.com/Increase/increase-ruby/commit/e1baf8273e15cca7f3cef02889f23628c0d9d5d9))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **internal:** codegen related update ([80d0a7b](https://github.com/Increase/increase-ruby/commit/80d0a7b329a7b52ec0d107bc8c7e3cb2575b6b86))
|
|
23
|
+
|
|
3
24
|
## 1.219.0 (2026-03-03)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v1.218.0...v1.219.0](https://github.com/Increase/increase-ruby/compare/v1.218.0...v1.219.0)
|
data/README.md
CHANGED
|
@@ -330,6 +330,18 @@ module Increase
|
|
|
330
330
|
# @return [String]
|
|
331
331
|
required :card_payment_id, String
|
|
332
332
|
|
|
333
|
+
# @!attribute cardholder_email
|
|
334
|
+
# The email address of the cardholder.
|
|
335
|
+
#
|
|
336
|
+
# @return [String, nil]
|
|
337
|
+
required :cardholder_email, String, nil?: true
|
|
338
|
+
|
|
339
|
+
# @!attribute cardholder_name
|
|
340
|
+
# The name of the cardholder.
|
|
341
|
+
#
|
|
342
|
+
# @return [String, nil]
|
|
343
|
+
required :cardholder_name, String, nil?: true
|
|
344
|
+
|
|
333
345
|
# @!attribute category
|
|
334
346
|
# The category of the card authentication attempt.
|
|
335
347
|
#
|
|
@@ -432,7 +444,7 @@ module Increase
|
|
|
432
444
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type]
|
|
433
445
|
required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type }
|
|
434
446
|
|
|
435
|
-
# @!method initialize(id:, card_id:, card_payment_id:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, purchase_amount:, purchase_currency:, real_time_decision_id:, status:, type:)
|
|
447
|
+
# @!method initialize(id:, card_id:, card_payment_id:, cardholder_email:, cardholder_name:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, purchase_amount:, purchase_currency:, real_time_decision_id:, status:, type:)
|
|
436
448
|
# Some parameter documentations has been truncated, see
|
|
437
449
|
# {Increase::Models::CardPayment::Element::CardAuthentication} for more details.
|
|
438
450
|
#
|
|
@@ -446,6 +458,10 @@ module Increase
|
|
|
446
458
|
#
|
|
447
459
|
# @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
|
|
448
460
|
#
|
|
461
|
+
# @param cardholder_email [String, nil] The email address of the cardholder.
|
|
462
|
+
#
|
|
463
|
+
# @param cardholder_name [String, nil] The name of the cardholder.
|
|
464
|
+
#
|
|
449
465
|
# @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Category, nil] The category of the card authentication attempt.
|
|
450
466
|
#
|
|
451
467
|
# @param challenge [Increase::Models::CardPayment::Element::CardAuthentication::Challenge, nil] Details about the challenge, if one was requested.
|
data/lib/increase/models.rb
CHANGED
|
@@ -255,8 +255,6 @@ module Increase
|
|
|
255
255
|
|
|
256
256
|
EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
257
257
|
|
|
258
|
-
EntityConfirmParams = Increase::Models::EntityConfirmParams
|
|
259
|
-
|
|
260
258
|
EntityCreateBeneficialOwnerParams = Increase::Models::EntityCreateBeneficialOwnerParams
|
|
261
259
|
|
|
262
260
|
EntityCreateParams = Increase::Models::EntityCreateParams
|
|
@@ -267,12 +265,8 @@ module Increase
|
|
|
267
265
|
|
|
268
266
|
EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
269
267
|
|
|
270
|
-
EntityUpdateAddressParams = Increase::Models::EntityUpdateAddressParams
|
|
271
|
-
|
|
272
268
|
EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
273
269
|
|
|
274
|
-
EntityUpdateIndustryCodeParams = Increase::Models::EntityUpdateIndustryCodeParams
|
|
275
|
-
|
|
276
270
|
EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
277
271
|
|
|
278
272
|
Event = Increase::Models::Event
|
|
@@ -192,35 +192,6 @@ module Increase
|
|
|
192
192
|
)
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
-
# Some parameter documentations has been truncated, see
|
|
196
|
-
# {Increase::Models::EntityConfirmParams} for more details.
|
|
197
|
-
#
|
|
198
|
-
# Depending on your program, you may be required to re-confirm an Entity's details
|
|
199
|
-
# on a recurring basis. After making any required updates, call this endpoint to
|
|
200
|
-
# record that your user confirmed their details.
|
|
201
|
-
#
|
|
202
|
-
# @overload confirm(entity_id, confirmed_at: nil, request_options: {})
|
|
203
|
-
#
|
|
204
|
-
# @param entity_id [String] The identifier of the Entity to confirm the details of.
|
|
205
|
-
#
|
|
206
|
-
# @param confirmed_at [Time] When your user confirmed the Entity's details. If not provided, the current time
|
|
207
|
-
#
|
|
208
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
209
|
-
#
|
|
210
|
-
# @return [Increase::Models::Entity]
|
|
211
|
-
#
|
|
212
|
-
# @see Increase::Models::EntityConfirmParams
|
|
213
|
-
def confirm(entity_id, params = {})
|
|
214
|
-
parsed, options = Increase::EntityConfirmParams.dump_request(params)
|
|
215
|
-
@client.request(
|
|
216
|
-
method: :post,
|
|
217
|
-
path: ["entities/%1$s/confirm", entity_id],
|
|
218
|
-
body: parsed,
|
|
219
|
-
model: Increase::Entity,
|
|
220
|
-
options: options
|
|
221
|
-
)
|
|
222
|
-
end
|
|
223
|
-
|
|
224
195
|
# Some parameter documentations has been truncated, see
|
|
225
196
|
# {Increase::Models::EntityCreateBeneficialOwnerParams} for more details.
|
|
226
197
|
#
|
|
@@ -248,33 +219,6 @@ module Increase
|
|
|
248
219
|
)
|
|
249
220
|
end
|
|
250
221
|
|
|
251
|
-
# Some parameter documentations has been truncated, see
|
|
252
|
-
# {Increase::Models::EntityUpdateAddressParams} for more details.
|
|
253
|
-
#
|
|
254
|
-
# Update a Natural Person or Corporation's address
|
|
255
|
-
#
|
|
256
|
-
# @overload update_address(entity_id, address:, request_options: {})
|
|
257
|
-
#
|
|
258
|
-
# @param entity_id [String] The identifier of the Entity whose address is being updated.
|
|
259
|
-
#
|
|
260
|
-
# @param address [Increase::Models::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
261
|
-
#
|
|
262
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
263
|
-
#
|
|
264
|
-
# @return [Increase::Models::Entity]
|
|
265
|
-
#
|
|
266
|
-
# @see Increase::Models::EntityUpdateAddressParams
|
|
267
|
-
def update_address(entity_id, params)
|
|
268
|
-
parsed, options = Increase::EntityUpdateAddressParams.dump_request(params)
|
|
269
|
-
@client.request(
|
|
270
|
-
method: :post,
|
|
271
|
-
path: ["entities/%1$s/update_address", entity_id],
|
|
272
|
-
body: parsed,
|
|
273
|
-
model: Increase::Entity,
|
|
274
|
-
options: options
|
|
275
|
-
)
|
|
276
|
-
end
|
|
277
|
-
|
|
278
222
|
# Some parameter documentations has been truncated, see
|
|
279
223
|
# {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details.
|
|
280
224
|
#
|
|
@@ -304,33 +248,6 @@ module Increase
|
|
|
304
248
|
)
|
|
305
249
|
end
|
|
306
250
|
|
|
307
|
-
# Some parameter documentations has been truncated, see
|
|
308
|
-
# {Increase::Models::EntityUpdateIndustryCodeParams} for more details.
|
|
309
|
-
#
|
|
310
|
-
# Update the industry code for a corporate Entity
|
|
311
|
-
#
|
|
312
|
-
# @overload update_industry_code(entity_id, industry_code:, request_options: {})
|
|
313
|
-
#
|
|
314
|
-
# @param entity_id [String] The identifier of the Entity to update. This endpoint only accepts `corporation`
|
|
315
|
-
#
|
|
316
|
-
# @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
|
|
317
|
-
#
|
|
318
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
319
|
-
#
|
|
320
|
-
# @return [Increase::Models::Entity]
|
|
321
|
-
#
|
|
322
|
-
# @see Increase::Models::EntityUpdateIndustryCodeParams
|
|
323
|
-
def update_industry_code(entity_id, params)
|
|
324
|
-
parsed, options = Increase::EntityUpdateIndustryCodeParams.dump_request(params)
|
|
325
|
-
@client.request(
|
|
326
|
-
method: :post,
|
|
327
|
-
path: ["entities/%1$s/update_industry_code", entity_id],
|
|
328
|
-
body: parsed,
|
|
329
|
-
model: Increase::Entity,
|
|
330
|
-
options: options
|
|
331
|
-
)
|
|
332
|
-
end
|
|
333
|
-
|
|
334
251
|
# @api private
|
|
335
252
|
#
|
|
336
253
|
# @param client [Increase::Client]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -161,15 +161,12 @@ require_relative "increase/models/digital_wallet_token_retrieve_params"
|
|
|
161
161
|
require_relative "increase/models/entity"
|
|
162
162
|
require_relative "increase/models/entity_archive_beneficial_owner_params"
|
|
163
163
|
require_relative "increase/models/entity_archive_params"
|
|
164
|
-
require_relative "increase/models/entity_confirm_params"
|
|
165
164
|
require_relative "increase/models/entity_create_beneficial_owner_params"
|
|
166
165
|
require_relative "increase/models/entity_create_params"
|
|
167
166
|
require_relative "increase/models/entity_list_params"
|
|
168
167
|
require_relative "increase/models/entity_retrieve_params"
|
|
169
168
|
require_relative "increase/models/entity_supplemental_document"
|
|
170
|
-
require_relative "increase/models/entity_update_address_params"
|
|
171
169
|
require_relative "increase/models/entity_update_beneficial_owner_address_params"
|
|
172
|
-
require_relative "increase/models/entity_update_industry_code_params"
|
|
173
170
|
require_relative "increase/models/entity_update_params"
|
|
174
171
|
require_relative "increase/models/event"
|
|
175
172
|
require_relative "increase/models/event_list_params"
|
|
@@ -634,6 +634,14 @@ module Increase
|
|
|
634
634
|
sig { returns(String) }
|
|
635
635
|
attr_accessor :card_payment_id
|
|
636
636
|
|
|
637
|
+
# The email address of the cardholder.
|
|
638
|
+
sig { returns(T.nilable(String)) }
|
|
639
|
+
attr_accessor :cardholder_email
|
|
640
|
+
|
|
641
|
+
# The name of the cardholder.
|
|
642
|
+
sig { returns(T.nilable(String)) }
|
|
643
|
+
attr_accessor :cardholder_name
|
|
644
|
+
|
|
637
645
|
# The category of the card authentication attempt.
|
|
638
646
|
sig do
|
|
639
647
|
returns(
|
|
@@ -746,6 +754,8 @@ module Increase
|
|
|
746
754
|
id: String,
|
|
747
755
|
card_id: String,
|
|
748
756
|
card_payment_id: String,
|
|
757
|
+
cardholder_email: T.nilable(String),
|
|
758
|
+
cardholder_name: T.nilable(String),
|
|
749
759
|
category:
|
|
750
760
|
T.nilable(
|
|
751
761
|
Increase::CardPayment::Element::CardAuthentication::Category::OrSymbol
|
|
@@ -783,6 +793,10 @@ module Increase
|
|
|
783
793
|
card_id:,
|
|
784
794
|
# The ID of the Card Payment this transaction belongs to.
|
|
785
795
|
card_payment_id:,
|
|
796
|
+
# The email address of the cardholder.
|
|
797
|
+
cardholder_email:,
|
|
798
|
+
# The name of the cardholder.
|
|
799
|
+
cardholder_name:,
|
|
786
800
|
# The category of the card authentication attempt.
|
|
787
801
|
category:,
|
|
788
802
|
# Details about the challenge, if one was requested.
|
|
@@ -826,6 +840,8 @@ module Increase
|
|
|
826
840
|
id: String,
|
|
827
841
|
card_id: String,
|
|
828
842
|
card_payment_id: String,
|
|
843
|
+
cardholder_email: T.nilable(String),
|
|
844
|
+
cardholder_name: T.nilable(String),
|
|
829
845
|
category:
|
|
830
846
|
T.nilable(
|
|
831
847
|
Increase::CardPayment::Element::CardAuthentication::Category::TaggedSymbol
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -243,8 +243,6 @@ module Increase
|
|
|
243
243
|
|
|
244
244
|
EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
245
245
|
|
|
246
|
-
EntityConfirmParams = Increase::Models::EntityConfirmParams
|
|
247
|
-
|
|
248
246
|
EntityCreateBeneficialOwnerParams =
|
|
249
247
|
Increase::Models::EntityCreateBeneficialOwnerParams
|
|
250
248
|
|
|
@@ -256,14 +254,9 @@ module Increase
|
|
|
256
254
|
|
|
257
255
|
EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
258
256
|
|
|
259
|
-
EntityUpdateAddressParams = Increase::Models::EntityUpdateAddressParams
|
|
260
|
-
|
|
261
257
|
EntityUpdateBeneficialOwnerAddressParams =
|
|
262
258
|
Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
263
259
|
|
|
264
|
-
EntityUpdateIndustryCodeParams =
|
|
265
|
-
Increase::Models::EntityUpdateIndustryCodeParams
|
|
266
|
-
|
|
267
260
|
EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
268
261
|
|
|
269
262
|
Event = Increase::Models::Event
|
|
@@ -186,26 +186,6 @@ module Increase
|
|
|
186
186
|
)
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
# Depending on your program, you may be required to re-confirm an Entity's details
|
|
190
|
-
# on a recurring basis. After making any required updates, call this endpoint to
|
|
191
|
-
# record that your user confirmed their details.
|
|
192
|
-
sig do
|
|
193
|
-
params(
|
|
194
|
-
entity_id: String,
|
|
195
|
-
confirmed_at: Time,
|
|
196
|
-
request_options: Increase::RequestOptions::OrHash
|
|
197
|
-
).returns(Increase::Entity)
|
|
198
|
-
end
|
|
199
|
-
def confirm(
|
|
200
|
-
# The identifier of the Entity to confirm the details of.
|
|
201
|
-
entity_id,
|
|
202
|
-
# When your user confirmed the Entity's details. If not provided, the current time
|
|
203
|
-
# will be used.
|
|
204
|
-
confirmed_at: nil,
|
|
205
|
-
request_options: {}
|
|
206
|
-
)
|
|
207
|
-
end
|
|
208
|
-
|
|
209
189
|
# Create a beneficial owner for a corporate Entity
|
|
210
190
|
sig do
|
|
211
191
|
params(
|
|
@@ -225,24 +205,6 @@ module Increase
|
|
|
225
205
|
)
|
|
226
206
|
end
|
|
227
207
|
|
|
228
|
-
# Update a Natural Person or Corporation's address
|
|
229
|
-
sig do
|
|
230
|
-
params(
|
|
231
|
-
entity_id: String,
|
|
232
|
-
address: Increase::EntityUpdateAddressParams::Address::OrHash,
|
|
233
|
-
request_options: Increase::RequestOptions::OrHash
|
|
234
|
-
).returns(Increase::Entity)
|
|
235
|
-
end
|
|
236
|
-
def update_address(
|
|
237
|
-
# The identifier of the Entity whose address is being updated.
|
|
238
|
-
entity_id,
|
|
239
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
240
|
-
# are disallowed.
|
|
241
|
-
address:,
|
|
242
|
-
request_options: {}
|
|
243
|
-
)
|
|
244
|
-
end
|
|
245
|
-
|
|
246
208
|
# Update the address for a beneficial owner belonging to a corporate Entity
|
|
247
209
|
sig do
|
|
248
210
|
params(
|
|
@@ -267,27 +229,6 @@ module Increase
|
|
|
267
229
|
)
|
|
268
230
|
end
|
|
269
231
|
|
|
270
|
-
# Update the industry code for a corporate Entity
|
|
271
|
-
sig do
|
|
272
|
-
params(
|
|
273
|
-
entity_id: String,
|
|
274
|
-
industry_code: String,
|
|
275
|
-
request_options: Increase::RequestOptions::OrHash
|
|
276
|
-
).returns(Increase::Entity)
|
|
277
|
-
end
|
|
278
|
-
def update_industry_code(
|
|
279
|
-
# The identifier of the Entity to update. This endpoint only accepts `corporation`
|
|
280
|
-
# entities.
|
|
281
|
-
entity_id,
|
|
282
|
-
# The North American Industry Classification System (NAICS) code for the
|
|
283
|
-
# corporation's primary line of business. This is a number, like `5132` for
|
|
284
|
-
# `Software Publishers`. A full list of classification codes is available
|
|
285
|
-
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
286
|
-
industry_code:,
|
|
287
|
-
request_options: {}
|
|
288
|
-
)
|
|
289
|
-
end
|
|
290
|
-
|
|
291
232
|
# @api private
|
|
292
233
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
293
234
|
def self.new(client:)
|
|
@@ -212,6 +212,8 @@ module Increase
|
|
|
212
212
|
id: String,
|
|
213
213
|
card_id: String,
|
|
214
214
|
card_payment_id: String,
|
|
215
|
+
cardholder_email: String?,
|
|
216
|
+
cardholder_name: String?,
|
|
215
217
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
216
218
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
217
219
|
created_at: Time,
|
|
@@ -235,6 +237,10 @@ module Increase
|
|
|
235
237
|
|
|
236
238
|
attr_accessor card_payment_id: String
|
|
237
239
|
|
|
240
|
+
attr_accessor cardholder_email: String?
|
|
241
|
+
|
|
242
|
+
attr_accessor cardholder_name: String?
|
|
243
|
+
|
|
238
244
|
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::category?
|
|
239
245
|
|
|
240
246
|
attr_accessor challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?
|
|
@@ -267,6 +273,8 @@ module Increase
|
|
|
267
273
|
id: String,
|
|
268
274
|
card_id: String,
|
|
269
275
|
card_payment_id: String,
|
|
276
|
+
cardholder_email: String?,
|
|
277
|
+
cardholder_name: String?,
|
|
270
278
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
271
279
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
272
280
|
created_at: Time,
|
|
@@ -287,6 +295,8 @@ module Increase
|
|
|
287
295
|
id: String,
|
|
288
296
|
card_id: String,
|
|
289
297
|
card_payment_id: String,
|
|
298
|
+
cardholder_email: String?,
|
|
299
|
+
cardholder_name: String?,
|
|
290
300
|
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
291
301
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
292
302
|
created_at: Time,
|
data/sig/increase/models.rbs
CHANGED
|
@@ -215,8 +215,6 @@ module Increase
|
|
|
215
215
|
|
|
216
216
|
class EntityArchiveParams = Increase::Models::EntityArchiveParams
|
|
217
217
|
|
|
218
|
-
class EntityConfirmParams = Increase::Models::EntityConfirmParams
|
|
219
|
-
|
|
220
218
|
class EntityCreateBeneficialOwnerParams = Increase::Models::EntityCreateBeneficialOwnerParams
|
|
221
219
|
|
|
222
220
|
class EntityCreateParams = Increase::Models::EntityCreateParams
|
|
@@ -227,12 +225,8 @@ module Increase
|
|
|
227
225
|
|
|
228
226
|
class EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
229
227
|
|
|
230
|
-
class EntityUpdateAddressParams = Increase::Models::EntityUpdateAddressParams
|
|
231
|
-
|
|
232
228
|
class EntityUpdateBeneficialOwnerAddressParams = Increase::Models::EntityUpdateBeneficialOwnerAddressParams
|
|
233
229
|
|
|
234
|
-
class EntityUpdateIndustryCodeParams = Increase::Models::EntityUpdateIndustryCodeParams
|
|
235
|
-
|
|
236
230
|
class EntityUpdateParams = Increase::Models::EntityUpdateParams
|
|
237
231
|
|
|
238
232
|
class Event = Increase::Models::Event
|
|
@@ -53,24 +53,12 @@ module Increase
|
|
|
53
53
|
?request_options: Increase::request_opts
|
|
54
54
|
) -> Increase::Entity
|
|
55
55
|
|
|
56
|
-
def confirm: (
|
|
57
|
-
String entity_id,
|
|
58
|
-
?confirmed_at: Time,
|
|
59
|
-
?request_options: Increase::request_opts
|
|
60
|
-
) -> Increase::Entity
|
|
61
|
-
|
|
62
56
|
def create_beneficial_owner: (
|
|
63
57
|
String entity_id,
|
|
64
58
|
beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner,
|
|
65
59
|
?request_options: Increase::request_opts
|
|
66
60
|
) -> Increase::Entity
|
|
67
61
|
|
|
68
|
-
def update_address: (
|
|
69
|
-
String entity_id,
|
|
70
|
-
address: Increase::EntityUpdateAddressParams::Address,
|
|
71
|
-
?request_options: Increase::request_opts
|
|
72
|
-
) -> Increase::Entity
|
|
73
|
-
|
|
74
62
|
def update_beneficial_owner_address: (
|
|
75
63
|
String entity_id,
|
|
76
64
|
address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address,
|
|
@@ -78,12 +66,6 @@ module Increase
|
|
|
78
66
|
?request_options: Increase::request_opts
|
|
79
67
|
) -> Increase::Entity
|
|
80
68
|
|
|
81
|
-
def update_industry_code: (
|
|
82
|
-
String entity_id,
|
|
83
|
-
industry_code: String,
|
|
84
|
-
?request_options: Increase::request_opts
|
|
85
|
-
) -> Increase::Entity
|
|
86
|
-
|
|
87
69
|
def initialize: (client: Increase::Client) -> void
|
|
88
70
|
end
|
|
89
71
|
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.221.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
@@ -178,15 +178,12 @@ files:
|
|
|
178
178
|
- lib/increase/models/entity.rb
|
|
179
179
|
- lib/increase/models/entity_archive_beneficial_owner_params.rb
|
|
180
180
|
- lib/increase/models/entity_archive_params.rb
|
|
181
|
-
- lib/increase/models/entity_confirm_params.rb
|
|
182
181
|
- lib/increase/models/entity_create_beneficial_owner_params.rb
|
|
183
182
|
- lib/increase/models/entity_create_params.rb
|
|
184
183
|
- lib/increase/models/entity_list_params.rb
|
|
185
184
|
- lib/increase/models/entity_retrieve_params.rb
|
|
186
185
|
- lib/increase/models/entity_supplemental_document.rb
|
|
187
|
-
- lib/increase/models/entity_update_address_params.rb
|
|
188
186
|
- lib/increase/models/entity_update_beneficial_owner_address_params.rb
|
|
189
|
-
- lib/increase/models/entity_update_industry_code_params.rb
|
|
190
187
|
- lib/increase/models/entity_update_params.rb
|
|
191
188
|
- lib/increase/models/event.rb
|
|
192
189
|
- lib/increase/models/event_list_params.rb
|
|
@@ -590,15 +587,12 @@ files:
|
|
|
590
587
|
- rbi/increase/models/entity.rbi
|
|
591
588
|
- rbi/increase/models/entity_archive_beneficial_owner_params.rbi
|
|
592
589
|
- rbi/increase/models/entity_archive_params.rbi
|
|
593
|
-
- rbi/increase/models/entity_confirm_params.rbi
|
|
594
590
|
- rbi/increase/models/entity_create_beneficial_owner_params.rbi
|
|
595
591
|
- rbi/increase/models/entity_create_params.rbi
|
|
596
592
|
- rbi/increase/models/entity_list_params.rbi
|
|
597
593
|
- rbi/increase/models/entity_retrieve_params.rbi
|
|
598
594
|
- rbi/increase/models/entity_supplemental_document.rbi
|
|
599
|
-
- rbi/increase/models/entity_update_address_params.rbi
|
|
600
595
|
- rbi/increase/models/entity_update_beneficial_owner_address_params.rbi
|
|
601
|
-
- rbi/increase/models/entity_update_industry_code_params.rbi
|
|
602
596
|
- rbi/increase/models/entity_update_params.rbi
|
|
603
597
|
- rbi/increase/models/event.rbi
|
|
604
598
|
- rbi/increase/models/event_list_params.rbi
|
|
@@ -1001,15 +995,12 @@ files:
|
|
|
1001
995
|
- sig/increase/models/entity.rbs
|
|
1002
996
|
- sig/increase/models/entity_archive_beneficial_owner_params.rbs
|
|
1003
997
|
- sig/increase/models/entity_archive_params.rbs
|
|
1004
|
-
- sig/increase/models/entity_confirm_params.rbs
|
|
1005
998
|
- sig/increase/models/entity_create_beneficial_owner_params.rbs
|
|
1006
999
|
- sig/increase/models/entity_create_params.rbs
|
|
1007
1000
|
- sig/increase/models/entity_list_params.rbs
|
|
1008
1001
|
- sig/increase/models/entity_retrieve_params.rbs
|
|
1009
1002
|
- sig/increase/models/entity_supplemental_document.rbs
|
|
1010
|
-
- sig/increase/models/entity_update_address_params.rbs
|
|
1011
1003
|
- sig/increase/models/entity_update_beneficial_owner_address_params.rbs
|
|
1012
|
-
- sig/increase/models/entity_update_industry_code_params.rbs
|
|
1013
1004
|
- sig/increase/models/entity_update_params.rbs
|
|
1014
1005
|
- sig/increase/models/event.rbs
|
|
1015
1006
|
- sig/increase/models/event_list_params.rbs
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
# @see Increase::Resources::Entities#confirm
|
|
6
|
-
class EntityConfirmParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute confirmed_at
|
|
11
|
-
# When your user confirmed the Entity's details. If not provided, the current time
|
|
12
|
-
# will be used.
|
|
13
|
-
#
|
|
14
|
-
# @return [Time, nil]
|
|
15
|
-
optional :confirmed_at, Time
|
|
16
|
-
|
|
17
|
-
# @!method initialize(confirmed_at: nil, request_options: {})
|
|
18
|
-
# Some parameter documentations has been truncated, see
|
|
19
|
-
# {Increase::Models::EntityConfirmParams} for more details.
|
|
20
|
-
#
|
|
21
|
-
# @param confirmed_at [Time] When your user confirmed the Entity's details. If not provided, the current time
|
|
22
|
-
#
|
|
23
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
# @see Increase::Resources::Entities#update_address
|
|
6
|
-
class EntityUpdateAddressParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute address
|
|
11
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
12
|
-
# are disallowed.
|
|
13
|
-
#
|
|
14
|
-
# @return [Increase::Models::EntityUpdateAddressParams::Address]
|
|
15
|
-
required :address, -> { Increase::EntityUpdateAddressParams::Address }
|
|
16
|
-
|
|
17
|
-
# @!method initialize(address:, request_options: {})
|
|
18
|
-
# Some parameter documentations has been truncated, see
|
|
19
|
-
# {Increase::Models::EntityUpdateAddressParams} for more details.
|
|
20
|
-
#
|
|
21
|
-
# @param address [Increase::Models::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
22
|
-
#
|
|
23
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
24
|
-
|
|
25
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
26
|
-
# @!attribute city
|
|
27
|
-
# The city of the address.
|
|
28
|
-
#
|
|
29
|
-
# @return [String]
|
|
30
|
-
required :city, String
|
|
31
|
-
|
|
32
|
-
# @!attribute line1
|
|
33
|
-
# The first line of the address. This is usually the street number and street.
|
|
34
|
-
#
|
|
35
|
-
# @return [String]
|
|
36
|
-
required :line1, String
|
|
37
|
-
|
|
38
|
-
# @!attribute state
|
|
39
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
40
|
-
# the address.
|
|
41
|
-
#
|
|
42
|
-
# @return [String]
|
|
43
|
-
required :state, String
|
|
44
|
-
|
|
45
|
-
# @!attribute zip
|
|
46
|
-
# The ZIP code of the address.
|
|
47
|
-
#
|
|
48
|
-
# @return [String]
|
|
49
|
-
required :zip, String
|
|
50
|
-
|
|
51
|
-
# @!attribute line2
|
|
52
|
-
# The second line of the address. This might be the floor or room number.
|
|
53
|
-
#
|
|
54
|
-
# @return [String, nil]
|
|
55
|
-
optional :line2, String
|
|
56
|
-
|
|
57
|
-
# @!method initialize(city:, line1:, state:, zip:, line2: nil)
|
|
58
|
-
# Some parameter documentations has been truncated, see
|
|
59
|
-
# {Increase::Models::EntityUpdateAddressParams::Address} for more details.
|
|
60
|
-
#
|
|
61
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
62
|
-
# are disallowed.
|
|
63
|
-
#
|
|
64
|
-
# @param city [String] The city of the address.
|
|
65
|
-
#
|
|
66
|
-
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
67
|
-
#
|
|
68
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
69
|
-
#
|
|
70
|
-
# @param zip [String] The ZIP code of the address.
|
|
71
|
-
#
|
|
72
|
-
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
# @see Increase::Resources::Entities#update_industry_code
|
|
6
|
-
class EntityUpdateIndustryCodeParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute industry_code
|
|
11
|
-
# The North American Industry Classification System (NAICS) code for the
|
|
12
|
-
# corporation's primary line of business. This is a number, like `5132` for
|
|
13
|
-
# `Software Publishers`. A full list of classification codes is available
|
|
14
|
-
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
15
|
-
#
|
|
16
|
-
# @return [String]
|
|
17
|
-
required :industry_code, String
|
|
18
|
-
|
|
19
|
-
# @!method initialize(industry_code:, request_options: {})
|
|
20
|
-
# Some parameter documentations has been truncated, see
|
|
21
|
-
# {Increase::Models::EntityUpdateIndustryCodeParams} for more details.
|
|
22
|
-
#
|
|
23
|
-
# @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
|
|
24
|
-
#
|
|
25
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class EntityConfirmParams < 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(Increase::EntityConfirmParams, Increase::Internal::AnyHash)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# When your user confirmed the Entity's details. If not provided, the current time
|
|
15
|
-
# will be used.
|
|
16
|
-
sig { returns(T.nilable(Time)) }
|
|
17
|
-
attr_reader :confirmed_at
|
|
18
|
-
|
|
19
|
-
sig { params(confirmed_at: Time).void }
|
|
20
|
-
attr_writer :confirmed_at
|
|
21
|
-
|
|
22
|
-
sig do
|
|
23
|
-
params(
|
|
24
|
-
confirmed_at: Time,
|
|
25
|
-
request_options: Increase::RequestOptions::OrHash
|
|
26
|
-
).returns(T.attached_class)
|
|
27
|
-
end
|
|
28
|
-
def self.new(
|
|
29
|
-
# When your user confirmed the Entity's details. If not provided, the current time
|
|
30
|
-
# will be used.
|
|
31
|
-
confirmed_at: nil,
|
|
32
|
-
request_options: {}
|
|
33
|
-
)
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
sig do
|
|
37
|
-
override.returns(
|
|
38
|
-
{ confirmed_at: Time, request_options: Increase::RequestOptions }
|
|
39
|
-
)
|
|
40
|
-
end
|
|
41
|
-
def to_hash
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class EntityUpdateAddressParams < 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::EntityUpdateAddressParams,
|
|
13
|
-
Increase::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
18
|
-
# are disallowed.
|
|
19
|
-
sig { returns(Increase::EntityUpdateAddressParams::Address) }
|
|
20
|
-
attr_reader :address
|
|
21
|
-
|
|
22
|
-
sig do
|
|
23
|
-
params(
|
|
24
|
-
address: Increase::EntityUpdateAddressParams::Address::OrHash
|
|
25
|
-
).void
|
|
26
|
-
end
|
|
27
|
-
attr_writer :address
|
|
28
|
-
|
|
29
|
-
sig do
|
|
30
|
-
params(
|
|
31
|
-
address: Increase::EntityUpdateAddressParams::Address::OrHash,
|
|
32
|
-
request_options: Increase::RequestOptions::OrHash
|
|
33
|
-
).returns(T.attached_class)
|
|
34
|
-
end
|
|
35
|
-
def self.new(
|
|
36
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
37
|
-
# are disallowed.
|
|
38
|
-
address:,
|
|
39
|
-
request_options: {}
|
|
40
|
-
)
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
sig do
|
|
44
|
-
override.returns(
|
|
45
|
-
{
|
|
46
|
-
address: Increase::EntityUpdateAddressParams::Address,
|
|
47
|
-
request_options: Increase::RequestOptions
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
end
|
|
51
|
-
def to_hash
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
55
|
-
OrHash =
|
|
56
|
-
T.type_alias do
|
|
57
|
-
T.any(
|
|
58
|
-
Increase::EntityUpdateAddressParams::Address,
|
|
59
|
-
Increase::Internal::AnyHash
|
|
60
|
-
)
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# The city of the address.
|
|
64
|
-
sig { returns(String) }
|
|
65
|
-
attr_accessor :city
|
|
66
|
-
|
|
67
|
-
# The first line of the address. This is usually the street number and street.
|
|
68
|
-
sig { returns(String) }
|
|
69
|
-
attr_accessor :line1
|
|
70
|
-
|
|
71
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
72
|
-
# the address.
|
|
73
|
-
sig { returns(String) }
|
|
74
|
-
attr_accessor :state
|
|
75
|
-
|
|
76
|
-
# The ZIP code of the address.
|
|
77
|
-
sig { returns(String) }
|
|
78
|
-
attr_accessor :zip
|
|
79
|
-
|
|
80
|
-
# The second line of the address. This might be the floor or room number.
|
|
81
|
-
sig { returns(T.nilable(String)) }
|
|
82
|
-
attr_reader :line2
|
|
83
|
-
|
|
84
|
-
sig { params(line2: String).void }
|
|
85
|
-
attr_writer :line2
|
|
86
|
-
|
|
87
|
-
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
88
|
-
# are disallowed.
|
|
89
|
-
sig do
|
|
90
|
-
params(
|
|
91
|
-
city: String,
|
|
92
|
-
line1: String,
|
|
93
|
-
state: String,
|
|
94
|
-
zip: String,
|
|
95
|
-
line2: String
|
|
96
|
-
).returns(T.attached_class)
|
|
97
|
-
end
|
|
98
|
-
def self.new(
|
|
99
|
-
# The city of the address.
|
|
100
|
-
city:,
|
|
101
|
-
# The first line of the address. This is usually the street number and street.
|
|
102
|
-
line1:,
|
|
103
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
104
|
-
# the address.
|
|
105
|
-
state:,
|
|
106
|
-
# The ZIP code of the address.
|
|
107
|
-
zip:,
|
|
108
|
-
# The second line of the address. This might be the floor or room number.
|
|
109
|
-
line2: nil
|
|
110
|
-
)
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
sig do
|
|
114
|
-
override.returns(
|
|
115
|
-
{
|
|
116
|
-
city: String,
|
|
117
|
-
line1: String,
|
|
118
|
-
state: String,
|
|
119
|
-
zip: String,
|
|
120
|
-
line2: String
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
end
|
|
124
|
-
def to_hash
|
|
125
|
-
end
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
class EntityUpdateIndustryCodeParams < 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::EntityUpdateIndustryCodeParams,
|
|
13
|
-
Increase::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# The North American Industry Classification System (NAICS) code for the
|
|
18
|
-
# corporation's primary line of business. This is a number, like `5132` for
|
|
19
|
-
# `Software Publishers`. A full list of classification codes is available
|
|
20
|
-
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
21
|
-
sig { returns(String) }
|
|
22
|
-
attr_accessor :industry_code
|
|
23
|
-
|
|
24
|
-
sig do
|
|
25
|
-
params(
|
|
26
|
-
industry_code: String,
|
|
27
|
-
request_options: Increase::RequestOptions::OrHash
|
|
28
|
-
).returns(T.attached_class)
|
|
29
|
-
end
|
|
30
|
-
def self.new(
|
|
31
|
-
# The North American Industry Classification System (NAICS) code for the
|
|
32
|
-
# corporation's primary line of business. This is a number, like `5132` for
|
|
33
|
-
# `Software Publishers`. A full list of classification codes is available
|
|
34
|
-
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
35
|
-
industry_code:,
|
|
36
|
-
request_options: {}
|
|
37
|
-
)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
sig do
|
|
41
|
-
override.returns(
|
|
42
|
-
{ industry_code: String, request_options: Increase::RequestOptions }
|
|
43
|
-
)
|
|
44
|
-
end
|
|
45
|
-
def to_hash
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_confirm_params =
|
|
4
|
-
{ confirmed_at: Time } & Increase::Internal::Type::request_parameters
|
|
5
|
-
|
|
6
|
-
class EntityConfirmParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
attr_reader confirmed_at: Time?
|
|
11
|
-
|
|
12
|
-
def confirmed_at=: (Time) -> Time
|
|
13
|
-
|
|
14
|
-
def initialize: (
|
|
15
|
-
?confirmed_at: Time,
|
|
16
|
-
?request_options: Increase::request_opts
|
|
17
|
-
) -> void
|
|
18
|
-
|
|
19
|
-
def to_hash: -> {
|
|
20
|
-
confirmed_at: Time,
|
|
21
|
-
request_options: Increase::RequestOptions
|
|
22
|
-
}
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_update_address_params =
|
|
4
|
-
{ address: Increase::EntityUpdateAddressParams::Address }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class EntityUpdateAddressParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor address: Increase::EntityUpdateAddressParams::Address
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
address: Increase::EntityUpdateAddressParams::Address,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
address: Increase::EntityUpdateAddressParams::Address,
|
|
20
|
-
request_options: Increase::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type address =
|
|
24
|
-
{
|
|
25
|
-
city: String,
|
|
26
|
-
:line1 => String,
|
|
27
|
-
state: String,
|
|
28
|
-
zip: String,
|
|
29
|
-
:line2 => String
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
33
|
-
attr_accessor city: String
|
|
34
|
-
|
|
35
|
-
attr_accessor line1: String
|
|
36
|
-
|
|
37
|
-
attr_accessor state: String
|
|
38
|
-
|
|
39
|
-
attr_accessor zip: String
|
|
40
|
-
|
|
41
|
-
attr_reader line2: String?
|
|
42
|
-
|
|
43
|
-
def line2=: (String) -> String
|
|
44
|
-
|
|
45
|
-
def initialize: (
|
|
46
|
-
city: String,
|
|
47
|
-
line1: String,
|
|
48
|
-
state: String,
|
|
49
|
-
zip: String,
|
|
50
|
-
?line2: String
|
|
51
|
-
) -> void
|
|
52
|
-
|
|
53
|
-
def to_hash: -> {
|
|
54
|
-
city: String,
|
|
55
|
-
:line1 => String,
|
|
56
|
-
state: String,
|
|
57
|
-
zip: String,
|
|
58
|
-
:line2 => String
|
|
59
|
-
}
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type entity_update_industry_code_params =
|
|
4
|
-
{ industry_code: String } & Increase::Internal::Type::request_parameters
|
|
5
|
-
|
|
6
|
-
class EntityUpdateIndustryCodeParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
attr_accessor industry_code: String
|
|
11
|
-
|
|
12
|
-
def initialize: (
|
|
13
|
-
industry_code: String,
|
|
14
|
-
?request_options: Increase::request_opts
|
|
15
|
-
) -> void
|
|
16
|
-
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
industry_code: String,
|
|
19
|
-
request_options: Increase::RequestOptions
|
|
20
|
-
}
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|