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/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:)
|
|
@@ -8,8 +8,10 @@ module Increase
|
|
|
8
8
|
params(
|
|
9
9
|
url: String,
|
|
10
10
|
oauth_connection_id: String,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
selected_event_categories:
|
|
12
|
+
T::Array[
|
|
13
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::OrHash
|
|
14
|
+
],
|
|
13
15
|
shared_secret: String,
|
|
14
16
|
status: Increase::EventSubscriptionCreateParams::Status::OrSymbol,
|
|
15
17
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -22,8 +24,9 @@ module Increase
|
|
|
22
24
|
# with the specified OAuth Connection.
|
|
23
25
|
oauth_connection_id: nil,
|
|
24
26
|
# If specified, this subscription will only receive webhooks for Events with the
|
|
25
|
-
# specified `category`.
|
|
26
|
-
|
|
27
|
+
# specified `category`. If specifying a Real-Time Decision event category, only
|
|
28
|
+
# one Event Category can be specified for the Event Subscription.
|
|
29
|
+
selected_event_categories: nil,
|
|
27
30
|
# The key that will be used to sign webhooks. If no value is passed, a random
|
|
28
31
|
# string will be used as default.
|
|
29
32
|
shared_secret: nil,
|