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/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]
|
|
@@ -8,13 +8,13 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create an Event Subscription
|
|
10
10
|
#
|
|
11
|
-
# @overload create(url:, oauth_connection_id: nil,
|
|
11
|
+
# @overload create(url:, oauth_connection_id: nil, selected_event_categories: nil, shared_secret: nil, status: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param url [String] The URL you'd like us to send webhooks to.
|
|
14
14
|
#
|
|
15
15
|
# @param oauth_connection_id [String] If specified, this subscription will only receive webhooks for Events associated
|
|
16
16
|
#
|
|
17
|
-
# @param
|
|
17
|
+
# @param selected_event_categories [Array<Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory>] If specified, this subscription will only receive webhooks for Events with the s
|
|
18
18
|
#
|
|
19
19
|
# @param shared_secret [String] The key that will be used to sign webhooks. If no value is passed, a random stri
|
|
20
20
|
#
|
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"
|