From 02897b2a6ead3059648d4be9cde81454c9a35eee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 17:36:14 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/entity_update_params.rb | 261 ++++++++++- rbi/increase/models/entity_update_params.rbi | 437 ++++++++++++++++++- sig/increase/models/entity_update_params.rbs | 241 +++++++++- 4 files changed, 917 insertions(+), 26 deletions(-) diff --git a/.stats.yml b/.stats.yml index 09d98d352..94d9b0a5f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-98bb100223960756975a05c102fb497e2dba7857b02bec559ebc60d6c38d78e4.yml -openapi_spec_hash: b19fcec9237b7b3394002cfb662b391f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-17c08bdd306c9bcf444a3d09db8878f633ec996cd2f091e1173742f6f3ffc5a5.yml +openapi_spec_hash: 70c131085fc22b07df6bac0f70fcf468 config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/lib/increase/models/entity_update_params.rb b/lib/increase/models/entity_update_params.rb index 212e04d83..c8cb7a23e 100644 --- a/lib/increase/models/entity_update_params.rb +++ b/lib/increase/models/entity_update_params.rb @@ -68,45 +68,235 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] class Corporation < Increase::Internal::Type::BaseModel + # @!attribute address + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @return [Increase::Models::EntityUpdateParams::Corporation::Address, nil] + optional :address, -> { Increase::EntityUpdateParams::Corporation::Address } + # @!attribute name # The legal name of the corporation. # # @return [String, nil] optional :name, String - # @!method initialize(name: nil) + # @!method initialize(address: nil, name: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::Corporation} for more details. + # # Details of the corporation entity to update. If you specify this parameter and # the entity is not a corporation, the request will fail. # + # @param address [Increase::Models::EntityUpdateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # # @param name [String] The legal name of the corporation. + + # @see Increase::Models::EntityUpdateParams::Corporation#address + class Address < Increase::Internal::Type::BaseModel + # @!attribute city + # The city of the address. + # + # @return [String] + required :city, String + + # @!attribute line1 + # The first line of the address. This is usually the street number and street. + # + # @return [String] + required :line1, String + + # @!attribute state + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + # + # @return [String] + required :state, String + + # @!attribute zip + # The ZIP code of the address. + # + # @return [String] + required :zip, String + + # @!attribute line2 + # The second line of the address. This might be the floor or room number. + # + # @return [String, nil] + optional :line2, String + + # @!method initialize(city:, line1:, state:, zip:, line2: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::Corporation::Address} for more details. + # + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @param city [String] The city of the address. + # + # @param line1 [String] The first line of the address. This is usually the street number and street. + # + # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of + # + # @param zip [String] The ZIP code of the address. + # + # @param line2 [String] The second line of the address. This might be the floor or room number. + end end class GovernmentAuthority < Increase::Internal::Type::BaseModel + # @!attribute address + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @return [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address, nil] + optional :address, -> { Increase::EntityUpdateParams::GovernmentAuthority::Address } + # @!attribute name # The legal name of the government authority. # # @return [String, nil] optional :name, String - # @!method initialize(name: nil) + # @!method initialize(address: nil, name: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::GovernmentAuthority} for more details. + # # 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. # + # @param address [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # # @param name [String] The legal name of the government authority. + + # @see Increase::Models::EntityUpdateParams::GovernmentAuthority#address + class Address < Increase::Internal::Type::BaseModel + # @!attribute city + # The city of the address. + # + # @return [String] + required :city, String + + # @!attribute line1 + # The first line of the address. This is usually the street number and street. + # + # @return [String] + required :line1, String + + # @!attribute state + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + # + # @return [String] + required :state, String + + # @!attribute zip + # The ZIP code of the address. + # + # @return [String] + required :zip, String + + # @!attribute line2 + # The second line of the address. This might be the floor or room number. + # + # @return [String, nil] + optional :line2, String + + # @!method initialize(city:, line1:, state:, zip:, line2: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::GovernmentAuthority::Address} for more + # details. + # + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @param city [String] The city of the address. + # + # @param line1 [String] The first line of the address. This is usually the street number and street. + # + # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of + # + # @param zip [String] The ZIP code of the address. + # + # @param line2 [String] The second line of the address. This might be the floor or room number. + end end class NaturalPerson < Increase::Internal::Type::BaseModel + # @!attribute address + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @return [Increase::Models::EntityUpdateParams::NaturalPerson::Address, nil] + optional :address, -> { Increase::EntityUpdateParams::NaturalPerson::Address } + # @!attribute name # The legal name of the natural person. # # @return [String, nil] optional :name, String - # @!method initialize(name: nil) + # @!method initialize(address: nil, name: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::NaturalPerson} for more details. + # # Details of the natural person entity to update. If you specify this parameter # and the entity is not a natural person, the request will fail. # + # @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # # @param name [String] The legal name of the natural person. + + # @see Increase::Models::EntityUpdateParams::NaturalPerson#address + class Address < Increase::Internal::Type::BaseModel + # @!attribute city + # The city of the address. + # + # @return [String] + required :city, String + + # @!attribute line1 + # The first line of the address. This is usually the street number and street. + # + # @return [String] + required :line1, String + + # @!attribute state + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + # + # @return [String] + required :state, String + + # @!attribute zip + # The ZIP code of the address. + # + # @return [String] + required :zip, String + + # @!attribute line2 + # The second line of the address. This might be the floor or room number. + # + # @return [String, nil] + optional :line2, String + + # @!method initialize(city:, line1:, state:, zip:, line2: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details. + # + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @param city [String] The city of the address. + # + # @param line1 [String] The first line of the address. This is usually the street number and street. + # + # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of + # + # @param zip [String] The ZIP code of the address. + # + # @param line2 [String] The second line of the address. This might be the floor or room number. + end end class RiskRating < Increase::Internal::Type::BaseModel @@ -196,17 +386,80 @@ module Vendor end class Trust < Increase::Internal::Type::BaseModel + # @!attribute address + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @return [Increase::Models::EntityUpdateParams::Trust::Address, nil] + optional :address, -> { Increase::EntityUpdateParams::Trust::Address } + # @!attribute name # The legal name of the trust. # # @return [String, nil] optional :name, String - # @!method initialize(name: nil) + # @!method initialize(address: nil, name: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::Trust} for more details. + # # Details of the trust entity to update. If you specify this parameter and the # entity is not a trust, the request will fail. # + # @param address [Increase::Models::EntityUpdateParams::Trust::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # # @param name [String] The legal name of the trust. + + # @see Increase::Models::EntityUpdateParams::Trust#address + class Address < Increase::Internal::Type::BaseModel + # @!attribute city + # The city of the address. + # + # @return [String] + required :city, String + + # @!attribute line1 + # The first line of the address. This is usually the street number and street. + # + # @return [String] + required :line1, String + + # @!attribute state + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + # + # @return [String] + required :state, String + + # @!attribute zip + # The ZIP code of the address. + # + # @return [String] + required :zip, String + + # @!attribute line2 + # The second line of the address. This might be the floor or room number. + # + # @return [String, nil] + optional :line2, String + + # @!method initialize(city:, line1:, state:, zip:, line2: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::EntityUpdateParams::Trust::Address} for more details. + # + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + # + # @param city [String] The city of the address. + # + # @param line1 [String] The first line of the address. This is usually the street number and street. + # + # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of + # + # @param zip [String] The ZIP code of the address. + # + # @param line2 [String] The second line of the address. This might be the floor or room number. + end end end end diff --git a/rbi/increase/models/entity_update_params.rbi b/rbi/increase/models/entity_update_params.rbi index 4e5b70126..a159ae419 100644 --- a/rbi/increase/models/entity_update_params.rbi +++ b/rbi/increase/models/entity_update_params.rbi @@ -148,6 +148,20 @@ module Increase ) end + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + returns(T.nilable(Increase::EntityUpdateParams::Corporation::Address)) + end + attr_reader :address + + sig do + params( + address: Increase::EntityUpdateParams::Corporation::Address::OrHash + ).void + end + attr_writer :address + # The legal name of the corporation. sig { returns(T.nilable(String)) } attr_reader :name @@ -157,16 +171,105 @@ 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. - sig { params(name: String).returns(T.attached_class) } + sig do + params( + address: Increase::EntityUpdateParams::Corporation::Address::OrHash, + name: String + ).returns(T.attached_class) + end def self.new( + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + address: nil, # The legal name of the corporation. name: nil ) end - sig { override.returns({ name: String }) } + sig do + override.returns( + { + address: Increase::EntityUpdateParams::Corporation::Address, + name: String + } + ) + end def to_hash end + + class Address < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::EntityUpdateParams::Corporation::Address, + Increase::Internal::AnyHash + ) + end + + # The city of the address. + sig { returns(String) } + attr_accessor :city + + # The first line of the address. This is usually the street number and street. + sig { returns(String) } + attr_accessor :line1 + + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + sig { returns(String) } + attr_accessor :state + + # The ZIP code of the address. + sig { returns(String) } + attr_accessor :zip + + # The second line of the address. This might be the floor or room number. + sig { returns(T.nilable(String)) } + attr_reader :line2 + + sig { params(line2: String).void } + attr_writer :line2 + + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + params( + city: String, + line1: String, + state: String, + zip: String, + line2: String + ).returns(T.attached_class) + end + def self.new( + # The city of the address. + city:, + # The first line of the address. This is usually the street number and street. + line1:, + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + state:, + # The ZIP code of the address. + zip:, + # The second line of the address. This might be the floor or room number. + line2: nil + ) + end + + sig do + override.returns( + { + city: String, + line1: String, + state: String, + zip: String, + line2: String + } + ) + end + def to_hash + end + end end class GovernmentAuthority < Increase::Internal::Type::BaseModel @@ -178,6 +281,25 @@ module Increase ) end + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + returns( + T.nilable( + Increase::EntityUpdateParams::GovernmentAuthority::Address + ) + ) + end + attr_reader :address + + sig do + params( + address: + Increase::EntityUpdateParams::GovernmentAuthority::Address::OrHash + ).void + end + attr_writer :address + # The legal name of the government authority. sig { returns(T.nilable(String)) } attr_reader :name @@ -187,16 +309,107 @@ module Increase # 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 { params(name: String).returns(T.attached_class) } + sig do + params( + address: + Increase::EntityUpdateParams::GovernmentAuthority::Address::OrHash, + name: String + ).returns(T.attached_class) + end def self.new( + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + address: nil, # The legal name of the government authority. name: nil ) end - sig { override.returns({ name: String }) } + sig do + override.returns( + { + address: + Increase::EntityUpdateParams::GovernmentAuthority::Address, + name: String + } + ) + end def to_hash end + + class Address < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::EntityUpdateParams::GovernmentAuthority::Address, + Increase::Internal::AnyHash + ) + end + + # The city of the address. + sig { returns(String) } + attr_accessor :city + + # The first line of the address. This is usually the street number and street. + sig { returns(String) } + attr_accessor :line1 + + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + sig { returns(String) } + attr_accessor :state + + # The ZIP code of the address. + sig { returns(String) } + attr_accessor :zip + + # The second line of the address. This might be the floor or room number. + sig { returns(T.nilable(String)) } + attr_reader :line2 + + sig { params(line2: String).void } + attr_writer :line2 + + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + params( + city: String, + line1: String, + state: String, + zip: String, + line2: String + ).returns(T.attached_class) + end + def self.new( + # The city of the address. + city:, + # The first line of the address. This is usually the street number and street. + line1:, + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + state:, + # The ZIP code of the address. + zip:, + # The second line of the address. This might be the floor or room number. + line2: nil + ) + end + + sig do + override.returns( + { + city: String, + line1: String, + state: String, + zip: String, + line2: String + } + ) + end + def to_hash + end + end end class NaturalPerson < Increase::Internal::Type::BaseModel @@ -208,6 +421,23 @@ module Increase ) end + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + returns( + T.nilable(Increase::EntityUpdateParams::NaturalPerson::Address) + ) + end + attr_reader :address + + sig do + params( + address: + Increase::EntityUpdateParams::NaturalPerson::Address::OrHash + ).void + end + attr_writer :address + # The legal name of the natural person. sig { returns(T.nilable(String)) } attr_reader :name @@ -217,16 +447,106 @@ module Increase # Details of the natural person entity to update. If you specify this parameter # and the entity is not a natural person, the request will fail. - sig { params(name: String).returns(T.attached_class) } + sig do + params( + address: + Increase::EntityUpdateParams::NaturalPerson::Address::OrHash, + name: String + ).returns(T.attached_class) + end def self.new( + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + address: nil, # The legal name of the natural person. name: nil ) end - sig { override.returns({ name: String }) } + sig do + override.returns( + { + address: Increase::EntityUpdateParams::NaturalPerson::Address, + name: String + } + ) + end def to_hash end + + class Address < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::EntityUpdateParams::NaturalPerson::Address, + Increase::Internal::AnyHash + ) + end + + # The city of the address. + sig { returns(String) } + attr_accessor :city + + # The first line of the address. This is usually the street number and street. + sig { returns(String) } + attr_accessor :line1 + + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + sig { returns(String) } + attr_accessor :state + + # The ZIP code of the address. + sig { returns(String) } + attr_accessor :zip + + # The second line of the address. This might be the floor or room number. + sig { returns(T.nilable(String)) } + attr_reader :line2 + + sig { params(line2: String).void } + attr_writer :line2 + + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + params( + city: String, + line1: String, + state: String, + zip: String, + line2: String + ).returns(T.attached_class) + end + def self.new( + # The city of the address. + city:, + # The first line of the address. This is usually the street number and street. + line1:, + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + state:, + # The ZIP code of the address. + zip:, + # The second line of the address. This might be the floor or room number. + line2: nil + ) + end + + sig do + override.returns( + { + city: String, + line1: String, + state: String, + zip: String, + line2: String + } + ) + end + def to_hash + end + end end class RiskRating < Increase::Internal::Type::BaseModel @@ -425,6 +745,18 @@ module Increase ) end + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig { returns(T.nilable(Increase::EntityUpdateParams::Trust::Address)) } + attr_reader :address + + sig do + params( + address: Increase::EntityUpdateParams::Trust::Address::OrHash + ).void + end + attr_writer :address + # The legal name of the trust. sig { returns(T.nilable(String)) } attr_reader :name @@ -434,16 +766,105 @@ module Increase # Details of the trust entity to update. If you specify this parameter and the # entity is not a trust, the request will fail. - sig { params(name: String).returns(T.attached_class) } + sig do + params( + address: Increase::EntityUpdateParams::Trust::Address::OrHash, + name: String + ).returns(T.attached_class) + end def self.new( + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + address: nil, # The legal name of the trust. name: nil ) end - sig { override.returns({ name: String }) } + sig do + override.returns( + { + address: Increase::EntityUpdateParams::Trust::Address, + name: String + } + ) + end def to_hash end + + class Address < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::EntityUpdateParams::Trust::Address, + Increase::Internal::AnyHash + ) + end + + # The city of the address. + sig { returns(String) } + attr_accessor :city + + # The first line of the address. This is usually the street number and street. + sig { returns(String) } + attr_accessor :line1 + + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + sig { returns(String) } + attr_accessor :state + + # The ZIP code of the address. + sig { returns(String) } + attr_accessor :zip + + # The second line of the address. This might be the floor or room number. + sig { returns(T.nilable(String)) } + attr_reader :line2 + + sig { params(line2: String).void } + attr_writer :line2 + + # The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # are disallowed. + sig do + params( + city: String, + line1: String, + state: String, + zip: String, + line2: String + ).returns(T.attached_class) + end + def self.new( + # The city of the address. + city:, + # The first line of the address. This is usually the street number and street. + line1:, + # The two-letter United States Postal Service (USPS) abbreviation for the state of + # the address. + state:, + # The ZIP code of the address. + zip:, + # The second line of the address. This might be the floor or room number. + line2: nil + ) + end + + sig do + override.returns( + { + city: String, + line1: String, + state: String, + zip: String, + line2: String + } + ) + end + def to_hash + end + end end end end diff --git a/sig/increase/models/entity_update_params.rbs b/sig/increase/models/entity_update_params.rbs index 401d5515c..8c7a5d104 100644 --- a/sig/increase/models/entity_update_params.rbs +++ b/sig/increase/models/entity_update_params.rbs @@ -71,40 +71,205 @@ module Increase request_options: Increase::RequestOptions } - type corporation = { name: String } + type corporation = + { + address: Increase::EntityUpdateParams::Corporation::Address, + name: String + } class Corporation < Increase::Internal::Type::BaseModel + attr_reader address: Increase::EntityUpdateParams::Corporation::Address? + + def address=: ( + Increase::EntityUpdateParams::Corporation::Address + ) -> Increase::EntityUpdateParams::Corporation::Address + attr_reader name: String? def name=: (String) -> String - def initialize: (?name: String) -> void + def initialize: ( + ?address: Increase::EntityUpdateParams::Corporation::Address, + ?name: String + ) -> void + + def to_hash: -> { + address: Increase::EntityUpdateParams::Corporation::Address, + name: String + } + + type address = + { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + + class Address < Increase::Internal::Type::BaseModel + attr_accessor city: String + + attr_accessor line1: String + + attr_accessor state: String + + attr_accessor zip: String - def to_hash: -> { name: String } + attr_reader line2: String? + + def line2=: (String) -> String + + def initialize: ( + city: String, + line1: String, + state: String, + zip: String, + ?line2: String + ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + end end - type government_authority = { name: String } + type government_authority = + { + address: Increase::EntityUpdateParams::GovernmentAuthority::Address, + name: String + } class GovernmentAuthority < Increase::Internal::Type::BaseModel + attr_reader address: Increase::EntityUpdateParams::GovernmentAuthority::Address? + + def address=: ( + Increase::EntityUpdateParams::GovernmentAuthority::Address + ) -> Increase::EntityUpdateParams::GovernmentAuthority::Address + attr_reader name: String? def name=: (String) -> String - def initialize: (?name: String) -> void + def initialize: ( + ?address: Increase::EntityUpdateParams::GovernmentAuthority::Address, + ?name: String + ) -> void + + def to_hash: -> { + address: Increase::EntityUpdateParams::GovernmentAuthority::Address, + name: String + } + + type address = + { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + + class Address < Increase::Internal::Type::BaseModel + attr_accessor city: String + + attr_accessor line1: String + + attr_accessor state: String + + attr_accessor zip: String + + attr_reader line2: String? + + def line2=: (String) -> String + + def initialize: ( + city: String, + line1: String, + state: String, + zip: String, + ?line2: String + ) -> void - def to_hash: -> { name: String } + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + end end - type natural_person = { name: String } + type natural_person = + { + address: Increase::EntityUpdateParams::NaturalPerson::Address, + name: String + } class NaturalPerson < Increase::Internal::Type::BaseModel + attr_reader address: Increase::EntityUpdateParams::NaturalPerson::Address? + + def address=: ( + Increase::EntityUpdateParams::NaturalPerson::Address + ) -> Increase::EntityUpdateParams::NaturalPerson::Address + attr_reader name: String? def name=: (String) -> String - def initialize: (?name: String) -> void + def initialize: ( + ?address: Increase::EntityUpdateParams::NaturalPerson::Address, + ?name: String + ) -> void + + def to_hash: -> { + address: Increase::EntityUpdateParams::NaturalPerson::Address, + name: String + } + + type address = + { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + + class Address < Increase::Internal::Type::BaseModel + attr_accessor city: String + + attr_accessor line1: String + + attr_accessor state: String + + attr_accessor zip: String + + attr_reader line2: String? + + def line2=: (String) -> String + + def initialize: ( + city: String, + line1: String, + state: String, + zip: String, + ?line2: String + ) -> void - def to_hash: -> { name: String } + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + end end type risk_rating = @@ -185,16 +350,68 @@ module Increase end end - type trust = { name: String } + type trust = + { address: Increase::EntityUpdateParams::Trust::Address, name: String } class Trust < Increase::Internal::Type::BaseModel + attr_reader address: Increase::EntityUpdateParams::Trust::Address? + + def address=: ( + Increase::EntityUpdateParams::Trust::Address + ) -> Increase::EntityUpdateParams::Trust::Address + attr_reader name: String? def name=: (String) -> String - def initialize: (?name: String) -> void + def initialize: ( + ?address: Increase::EntityUpdateParams::Trust::Address, + ?name: String + ) -> void + + def to_hash: -> { + address: Increase::EntityUpdateParams::Trust::Address, + name: String + } + + type address = + { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } - def to_hash: -> { name: String } + class Address < Increase::Internal::Type::BaseModel + attr_accessor city: String + + attr_accessor line1: String + + attr_accessor state: String + + attr_accessor zip: String + + attr_reader line2: String? + + def line2=: (String) -> String + + def initialize: ( + city: String, + line1: String, + state: String, + zip: String, + ?line2: String + ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } + end end end end From 9df398549e8cd668f9b757759308fa3e9dc6e6d4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 17:36:37 +0000 Subject: [PATCH 2/2] release: 1.69.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 42bc7e250..5df3c6496 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.68.0" + ".": "1.69.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 42b74e74c..3450253b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.69.0 (2025-09-08) + +Full Changelog: [v1.68.0...v1.69.0](https://github.com/Increase/increase-ruby/compare/v1.68.0...v1.69.0) + +### Features + +* **api:** api update ([02897b2](https://github.com/Increase/increase-ruby/commit/02897b2a6ead3059648d4be9cde81454c9a35eee)) + ## 1.68.0 (2025-09-07) Full Changelog: [v1.67.0...v1.68.0](https://github.com/Increase/increase-ruby/compare/v1.67.0...v1.68.0) diff --git a/Gemfile.lock b/Gemfile.lock index 8138d24d6..3cb5acd51 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.68.0) + increase (1.69.0) connection_pool GEM diff --git a/README.md b/README.md index 2e12b5417..38bbb60b1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.68.0" +gem "increase", "~> 1.69.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index f32d09912..292df8e2c 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.68.0" + VERSION = "1.69.0" end