Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.71.0"
".": "1.72.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 217
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5d85239e5d724254ab22d922c6cad05e1c361c791ef4a578e1165158bd967753.yml
openapi_spec_hash: b2c90485c02d643ad09954f4d88dbc25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-387c9e5ff5305d470ddf290a424b9d0f087fa295b56cf82265f2dfe8355a589a.yml
openapi_spec_hash: 2c624b8535be90329028f6b10281a313
config_hash: e1885b38eded054b77308a024c5d80cc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.72.0 (2025-09-08)

Full Changelog: [v1.71.0...v1.72.0](https://github.com/Increase/increase-ruby/compare/v1.71.0...v1.72.0)

### Features

* **api:** api update ([a403346](https://github.com/Increase/increase-ruby/commit/a4033467d8e63b6a28308ee936f44052c26ad6a1))

## 1.71.0 (2025-09-08)

Full Changelog: [v1.70.0...v1.71.0](https://github.com/Increase/increase-ruby/compare/v1.70.0...v1.71.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.71.0)
increase (1.72.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.71.0"
gem "increase", "~> 1.72.0"
```

<!-- x-release-please-end -->
Expand Down
12 changes: 11 additions & 1 deletion lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::EntityUpdateParams::Corporation, nil]
optional :corporation, -> { Increase::EntityUpdateParams::Corporation }

# @!attribute details_confirmed_at
# When your user last confirmed the Entity's details. Depending on your program,
# you may be required to affirmatively confirm details with your users on an
# annual basis.
#
# @return [Time, nil]
optional :details_confirmed_at, Time

# @!attribute government_authority
# Details of the government authority entity to update. If you specify this
# parameter and the entity is not a government authority, the request will fail.
Expand Down Expand Up @@ -50,12 +58,14 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::EntityUpdateParams::Trust, nil]
optional :trust, -> { Increase::EntityUpdateParams::Trust }

# @!method initialize(corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
# @!method initialize(corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityUpdateParams} for more details.
#
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
#
# @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y
#
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
#
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
Expand Down
4 changes: 3 additions & 1 deletion lib/increase/resources/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@ def retrieve(entity_id, params = {})
#
# Update an Entity
#
# @overload update(entity_id, corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
# @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
#
# @param entity_id [String] The entity identifier.
#
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
#
# @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y
#
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
#
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.71.0"
VERSION = "1.72.0"
end
15 changes: 15 additions & 0 deletions rbi/increase/models/entity_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ module Increase
end
attr_writer :corporation

# When your user last confirmed the Entity's details. Depending on your program,
# you may be required to affirmatively confirm details with your users on an
# annual basis.
sig { returns(T.nilable(Time)) }
attr_reader :details_confirmed_at

sig { params(details_confirmed_at: Time).void }
attr_writer :details_confirmed_at

# Details of the government authority entity to update. If you specify this
# parameter and the entity is not a government authority, the request will fail.
sig do
Expand Down Expand Up @@ -89,6 +98,7 @@ module Increase
sig do
params(
corporation: Increase::EntityUpdateParams::Corporation::OrHash,
details_confirmed_at: Time,
government_authority:
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
Expand All @@ -103,6 +113,10 @@ module Increase
# Details of the corporation entity to update. If you specify this parameter and
# the entity is not a corporation, the request will fail.
corporation: nil,
# When your user last confirmed the Entity's details. Depending on your program,
# you may be required to affirmatively confirm details with your users on an
# annual basis.
details_confirmed_at: nil,
# Details of the government authority entity to update. If you specify this
# parameter and the entity is not a government authority, the request will fail.
government_authority: nil,
Expand All @@ -127,6 +141,7 @@ module Increase
override.returns(
{
corporation: Increase::EntityUpdateParams::Corporation,
details_confirmed_at: Time,
government_authority:
Increase::EntityUpdateParams::GovernmentAuthority,
natural_person: Increase::EntityUpdateParams::NaturalPerson,
Expand Down
5 changes: 5 additions & 0 deletions rbi/increase/resources/entities.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module Increase
params(
entity_id: String,
corporation: Increase::EntityUpdateParams::Corporation::OrHash,
details_confirmed_at: Time,
government_authority:
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
Expand All @@ -94,6 +95,10 @@ module Increase
# Details of the corporation entity to update. If you specify this parameter and
# the entity is not a corporation, the request will fail.
corporation: nil,
# When your user last confirmed the Entity's details. Depending on your program,
# you may be required to affirmatively confirm details with your users on an
# annual basis.
details_confirmed_at: nil,
# Details of the government authority entity to update. If you specify this
# parameter and the entity is not a government authority, the request will fail.
government_authority: nil,
Expand Down
7 changes: 7 additions & 0 deletions sig/increase/models/entity_update_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module Increase
type entity_update_params =
{
corporation: Increase::EntityUpdateParams::Corporation,
details_confirmed_at: Time,
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
natural_person: Increase::EntityUpdateParams::NaturalPerson,
risk_rating: Increase::EntityUpdateParams::RiskRating,
Expand All @@ -21,6 +22,10 @@ module Increase
Increase::EntityUpdateParams::Corporation
) -> Increase::EntityUpdateParams::Corporation

attr_reader details_confirmed_at: Time?

def details_confirmed_at=: (Time) -> Time

attr_reader government_authority: Increase::EntityUpdateParams::GovernmentAuthority?

def government_authority=: (
Expand Down Expand Up @@ -53,6 +58,7 @@ module Increase

def initialize: (
?corporation: Increase::EntityUpdateParams::Corporation,
?details_confirmed_at: Time,
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
?risk_rating: Increase::EntityUpdateParams::RiskRating,
Expand All @@ -63,6 +69,7 @@ module Increase

def to_hash: -> {
corporation: Increase::EntityUpdateParams::Corporation,
details_confirmed_at: Time,
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
natural_person: Increase::EntityUpdateParams::NaturalPerson,
risk_rating: Increase::EntityUpdateParams::RiskRating,
Expand Down
1 change: 1 addition & 0 deletions sig/increase/resources/entities.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module Increase
def update: (
String entity_id,
?corporation: Increase::EntityUpdateParams::Corporation,
?details_confirmed_at: Time,
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
?risk_rating: Increase::EntityUpdateParams::RiskRating,
Expand Down