increase 1.218.0 → 1.220.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/event_subscription_create_params.rb +247 -233
- data/lib/increase/models.rb +0 -6
- data/lib/increase/resources/entities.rb +0 -83
- data/lib/increase/resources/event_subscriptions.rb +2 -2
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -3
- data/rbi/increase/models/event_subscription_create_params.rbi +732 -682
- data/rbi/increase/models.rbi +0 -7
- data/rbi/increase/resources/entities.rbi +0 -59
- data/rbi/increase/resources/event_subscriptions.rbi +7 -4
- data/sig/increase/models/event_subscription_create_params.rbs +370 -353
- data/sig/increase/models.rbs +0 -6
- data/sig/increase/resources/entities.rbs +0 -18
- data/sig/increase/resources/event_subscriptions.rbs +1 -1
- metadata +2 -11
- 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
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
|
|
@@ -4,7 +4,7 @@ module Increase
|
|
|
4
4
|
def create: (
|
|
5
5
|
url: String,
|
|
6
6
|
?oauth_connection_id: String,
|
|
7
|
-
?
|
|
7
|
+
?selected_event_categories: ::Array[Increase::EventSubscriptionCreateParams::SelectedEventCategory],
|
|
8
8
|
?shared_secret: String,
|
|
9
9
|
?status: Increase::Models::EventSubscriptionCreateParams::status,
|
|
10
10
|
?request_options: Increase::request_opts
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.220.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -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
|