increase 1.62.0 → 1.64.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/entity.rb +56 -1
- data/lib/increase/models/entity_create_params.rb +55 -1
- data/lib/increase/models/entity_update_params.rb +121 -0
- data/lib/increase/models/physical_card_profile_create_params.rb +19 -1
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/entities.rb +32 -1
- data/lib/increase/resources/physical_card_profiles.rb +5 -1
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/models/entity.rbi +89 -0
- data/rbi/increase/models/entity_create_params.rbi +108 -0
- data/rbi/increase/models/entity_update_params.rbi +261 -0
- data/rbi/increase/models/physical_card_profile_create_params.rbi +26 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/entities.rbi +27 -0
- data/rbi/increase/resources/physical_card_profiles.rbi +8 -0
- data/sig/increase/models/entity.rbs +41 -0
- data/sig/increase/models/entity_create_params.rbs +48 -0
- data/sig/increase/models/entity_update_params.rbs +117 -0
- data/sig/increase/models/physical_card_profile_create_params.rbs +14 -0
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/entities.rbs +8 -0
- data/sig/increase/resources/physical_card_profiles.rbs +2 -0
- metadata +5 -2
@@ -0,0 +1,117 @@
|
|
1
|
+
module Increase
|
2
|
+
module Models
|
3
|
+
type entity_update_params =
|
4
|
+
{
|
5
|
+
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
6
|
+
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification
|
7
|
+
}
|
8
|
+
& Increase::Internal::Type::request_parameters
|
9
|
+
|
10
|
+
class EntityUpdateParams < Increase::Internal::Type::BaseModel
|
11
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
12
|
+
include Increase::Internal::Type::RequestParameters
|
13
|
+
|
14
|
+
attr_reader risk_rating: Increase::EntityUpdateParams::RiskRating?
|
15
|
+
|
16
|
+
def risk_rating=: (
|
17
|
+
Increase::EntityUpdateParams::RiskRating
|
18
|
+
) -> Increase::EntityUpdateParams::RiskRating
|
19
|
+
|
20
|
+
attr_reader third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification?
|
21
|
+
|
22
|
+
def third_party_verification=: (
|
23
|
+
Increase::EntityUpdateParams::ThirdPartyVerification
|
24
|
+
) -> Increase::EntityUpdateParams::ThirdPartyVerification
|
25
|
+
|
26
|
+
def initialize: (
|
27
|
+
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
28
|
+
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
29
|
+
?request_options: Increase::request_opts
|
30
|
+
) -> void
|
31
|
+
|
32
|
+
def to_hash: -> {
|
33
|
+
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
34
|
+
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
35
|
+
request_options: Increase::RequestOptions
|
36
|
+
}
|
37
|
+
|
38
|
+
type risk_rating =
|
39
|
+
{
|
40
|
+
rated_at: Time,
|
41
|
+
rating: Increase::Models::EntityUpdateParams::RiskRating::rating
|
42
|
+
}
|
43
|
+
|
44
|
+
class RiskRating < Increase::Internal::Type::BaseModel
|
45
|
+
attr_accessor rated_at: Time
|
46
|
+
|
47
|
+
attr_accessor rating: Increase::Models::EntityUpdateParams::RiskRating::rating
|
48
|
+
|
49
|
+
def initialize: (
|
50
|
+
rated_at: Time,
|
51
|
+
rating: Increase::Models::EntityUpdateParams::RiskRating::rating
|
52
|
+
) -> void
|
53
|
+
|
54
|
+
def to_hash: -> {
|
55
|
+
rated_at: Time,
|
56
|
+
rating: Increase::Models::EntityUpdateParams::RiskRating::rating
|
57
|
+
}
|
58
|
+
|
59
|
+
type rating = :low | :medium | :high
|
60
|
+
|
61
|
+
module Rating
|
62
|
+
extend Increase::Internal::Type::Enum
|
63
|
+
|
64
|
+
# Low
|
65
|
+
LOW: :low
|
66
|
+
|
67
|
+
# Medium
|
68
|
+
MEDIUM: :medium
|
69
|
+
|
70
|
+
# High
|
71
|
+
HIGH: :high
|
72
|
+
|
73
|
+
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::RiskRating::rating]
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
type third_party_verification =
|
78
|
+
{
|
79
|
+
reference: String,
|
80
|
+
vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
|
81
|
+
}
|
82
|
+
|
83
|
+
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
84
|
+
attr_accessor reference: String
|
85
|
+
|
86
|
+
attr_accessor vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
|
87
|
+
|
88
|
+
def initialize: (
|
89
|
+
reference: String,
|
90
|
+
vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
|
91
|
+
) -> void
|
92
|
+
|
93
|
+
def to_hash: -> {
|
94
|
+
reference: String,
|
95
|
+
vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
|
96
|
+
}
|
97
|
+
|
98
|
+
type vendor = :alloy | :middesk | :oscilar
|
99
|
+
|
100
|
+
module Vendor
|
101
|
+
extend Increase::Internal::Type::Enum
|
102
|
+
|
103
|
+
# Alloy. See https://alloy.com for more information.
|
104
|
+
ALLOY: :alloy
|
105
|
+
|
106
|
+
# Middesk. See https://middesk.com for more information.
|
107
|
+
MIDDESK: :middesk
|
108
|
+
|
109
|
+
# Oscilar. See https://oscilar.com for more information.
|
110
|
+
OSCILAR: :oscilar
|
111
|
+
|
112
|
+
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor]
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -7,6 +7,8 @@ module Increase
|
|
7
7
|
description: String,
|
8
8
|
front_image_file_id: String,
|
9
9
|
program_id: String,
|
10
|
+
card_stock_reference: String,
|
11
|
+
carrier_stock_reference: String,
|
10
12
|
front_text: Increase::PhysicalCardProfileCreateParams::FrontText
|
11
13
|
}
|
12
14
|
& Increase::Internal::Type::request_parameters
|
@@ -25,6 +27,14 @@ module Increase
|
|
25
27
|
|
26
28
|
attr_accessor program_id: String
|
27
29
|
|
30
|
+
attr_reader card_stock_reference: String?
|
31
|
+
|
32
|
+
def card_stock_reference=: (String) -> String
|
33
|
+
|
34
|
+
attr_reader carrier_stock_reference: String?
|
35
|
+
|
36
|
+
def carrier_stock_reference=: (String) -> String
|
37
|
+
|
28
38
|
attr_reader front_text: Increase::PhysicalCardProfileCreateParams::FrontText?
|
29
39
|
|
30
40
|
def front_text=: (
|
@@ -37,6 +47,8 @@ module Increase
|
|
37
47
|
description: String,
|
38
48
|
front_image_file_id: String,
|
39
49
|
program_id: String,
|
50
|
+
?card_stock_reference: String,
|
51
|
+
?carrier_stock_reference: String,
|
40
52
|
?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
41
53
|
?request_options: Increase::request_opts
|
42
54
|
) -> void
|
@@ -47,6 +59,8 @@ module Increase
|
|
47
59
|
description: String,
|
48
60
|
front_image_file_id: String,
|
49
61
|
program_id: String,
|
62
|
+
card_stock_reference: String,
|
63
|
+
carrier_stock_reference: String,
|
50
64
|
front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
51
65
|
request_options: Increase::RequestOptions
|
52
66
|
}
|
data/sig/increase/models.rbs
CHANGED
@@ -235,6 +235,8 @@ module Increase
|
|
235
235
|
|
236
236
|
class EntityUpdateIndustryCodeParams = Increase::Models::EntityUpdateIndustryCodeParams
|
237
237
|
|
238
|
+
class EntityUpdateParams = Increase::Models::EntityUpdateParams
|
239
|
+
|
238
240
|
class Event = Increase::Models::Event
|
239
241
|
|
240
242
|
class EventListParams = Increase::Models::EventListParams
|
@@ -8,6 +8,7 @@ module Increase
|
|
8
8
|
?government_authority: Increase::EntityCreateParams::GovernmentAuthority,
|
9
9
|
?joint: Increase::EntityCreateParams::Joint,
|
10
10
|
?natural_person: Increase::EntityCreateParams::NaturalPerson,
|
11
|
+
?risk_rating: Increase::EntityCreateParams::RiskRating,
|
11
12
|
?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
|
12
13
|
?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
|
13
14
|
?trust: Increase::EntityCreateParams::Trust,
|
@@ -19,6 +20,13 @@ module Increase
|
|
19
20
|
?request_options: Increase::request_opts
|
20
21
|
) -> Increase::Entity
|
21
22
|
|
23
|
+
def update: (
|
24
|
+
String entity_id,
|
25
|
+
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
26
|
+
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
27
|
+
?request_options: Increase::request_opts
|
28
|
+
) -> Increase::Entity
|
29
|
+
|
22
30
|
def list: (
|
23
31
|
?created_at: Increase::EntityListParams::CreatedAt,
|
24
32
|
?cursor: String,
|
@@ -7,6 +7,8 @@ module Increase
|
|
7
7
|
description: String,
|
8
8
|
front_image_file_id: String,
|
9
9
|
program_id: String,
|
10
|
+
?card_stock_reference: String,
|
11
|
+
?carrier_stock_reference: String,
|
10
12
|
?front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
|
11
13
|
?request_options: Increase::request_opts
|
12
14
|
) -> Increase::PhysicalCardProfile
|
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.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- lib/increase/models/entity_update_address_params.rb
|
175
175
|
- lib/increase/models/entity_update_beneficial_owner_address_params.rb
|
176
176
|
- lib/increase/models/entity_update_industry_code_params.rb
|
177
|
+
- lib/increase/models/entity_update_params.rb
|
177
178
|
- lib/increase/models/event.rb
|
178
179
|
- lib/increase/models/event_list_params.rb
|
179
180
|
- lib/increase/models/event_retrieve_params.rb
|
@@ -558,6 +559,7 @@ files:
|
|
558
559
|
- rbi/increase/models/entity_update_address_params.rbi
|
559
560
|
- rbi/increase/models/entity_update_beneficial_owner_address_params.rbi
|
560
561
|
- rbi/increase/models/entity_update_industry_code_params.rbi
|
562
|
+
- rbi/increase/models/entity_update_params.rbi
|
561
563
|
- rbi/increase/models/event.rbi
|
562
564
|
- rbi/increase/models/event_list_params.rbi
|
563
565
|
- rbi/increase/models/event_retrieve_params.rbi
|
@@ -941,6 +943,7 @@ files:
|
|
941
943
|
- sig/increase/models/entity_update_address_params.rbs
|
942
944
|
- sig/increase/models/entity_update_beneficial_owner_address_params.rbs
|
943
945
|
- sig/increase/models/entity_update_industry_code_params.rbs
|
946
|
+
- sig/increase/models/entity_update_params.rbs
|
944
947
|
- sig/increase/models/event.rbs
|
945
948
|
- sig/increase/models/event_list_params.rbs
|
946
949
|
- sig/increase/models/event_retrieve_params.rbs
|