From 2b5da1c10f75b8a65c2370858c08eadf4268b044 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 00:13:46 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/document.rb | 27 +++++++++- lib/increase/models/document_create_params.rb | 26 ++++++++- lib/increase/models/document_list_params.rb | 3 ++ lib/increase/models/file.rb | 3 ++ lib/increase/models/file_list_params.rb | 3 ++ lib/increase/resources/documents.rb | 4 +- rbi/increase/models/document.rbi | 51 ++++++++++++++++++ .../models/document_create_params.rbi | 53 +++++++++++++++++++ rbi/increase/models/document_list_params.rbi | 7 +++ rbi/increase/models/file.rbi | 4 ++ rbi/increase/models/file_list_params.rbi | 7 +++ rbi/increase/resources/documents.rbi | 4 ++ sig/increase/models/document.rbs | 19 +++++++ .../models/document_create_params.rbs | 26 ++++++++- sig/increase/models/document_list_params.rbs | 4 ++ sig/increase/models/file.rbs | 4 ++ sig/increase/models/file_list_params.rbs | 4 ++ sig/increase/resources/documents.rbs | 1 + test/increase/resources/documents_test.rb | 3 ++ .../resources/simulations/documents_test.rb | 1 + 21 files changed, 251 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 54fbc742d..3a8d9d1b8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d85c059af2ebfb614d1027bf04c10ddcb6188920c7e8a29b040968cd962124b6.yml -openapi_spec_hash: 3a5546d73dd733025e0d6d9d673bca04 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8ba0a76a7d25f12b1aa44ebd3283129560f7a65c95a098ad89deeee6ea46c8a8.yml +openapi_spec_hash: 30519b66ae8c018865d8de252d6f5d2d config_hash: 97774f946585cecb19181a1817870d0b diff --git a/lib/increase/models/document.rb b/lib/increase/models/document.rb index 303e7f01c..208b0da8d 100644 --- a/lib/increase/models/document.rb +++ b/lib/increase/models/document.rb @@ -41,6 +41,12 @@ class Document < Increase::Internal::Type::BaseModel # @return [String] required :file_id, String + # @!attribute funding_instructions + # Properties of a funding instructions document. + # + # @return [Increase::Models::Document::FundingInstructions, nil] + required :funding_instructions, -> { Increase::Document::FundingInstructions }, nil?: true + # @!attribute idempotency_key # The idempotency key you chose for this object. This value is unique across # Increase and is used to ensure that a request is only processed once. Learn more @@ -56,7 +62,7 @@ class Document < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::Document::Type] required :type, enum: -> { Increase::Document::Type } - # @!method initialize(id:, account_verification_letter:, category:, created_at:, entity_id:, file_id:, idempotency_key:, type:) + # @!method initialize(id:, account_verification_letter:, category:, created_at:, entity_id:, file_id:, funding_instructions:, idempotency_key:, type:) # Some parameter documentations has been truncated, see # {Increase::Models::Document} for more details. # @@ -75,6 +81,8 @@ class Document < Increase::Internal::Type::BaseModel # # @param file_id [String] The identifier of the File containing the Document's contents. # + # @param funding_instructions [Increase::Models::Document::FundingInstructions, nil] Properties of a funding instructions document. + # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # # @param type [Symbol, Increase::Models::Document::Type] A constant representing the object's type. For this resource it will always be ` @@ -114,10 +122,27 @@ module Category # An account verification letter. ACCOUNT_VERIFICATION_LETTER = :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS = :funding_instructions + # @!method self.values # @return [Array] end + # @see Increase::Models::Document#funding_instructions + class FundingInstructions < Increase::Internal::Type::BaseModel + # @!attribute account_number_id + # The identifier of the Account Number the document was generated for. + # + # @return [String] + required :account_number_id, String + + # @!method initialize(account_number_id:) + # Properties of a funding instructions document. + # + # @param account_number_id [String] The identifier of the Account Number the document was generated for. + end + # A constant representing the object's type. For this resource it will always be # `document`. # diff --git a/lib/increase/models/document_create_params.rb b/lib/increase/models/document_create_params.rb index 29bc22bb5..e240184ab 100644 --- a/lib/increase/models/document_create_params.rb +++ b/lib/increase/models/document_create_params.rb @@ -19,11 +19,19 @@ class DocumentCreateParams < Increase::Internal::Type::BaseModel # @return [Increase::Models::DocumentCreateParams::AccountVerificationLetter, nil] optional :account_verification_letter, -> { Increase::DocumentCreateParams::AccountVerificationLetter } - # @!method initialize(category:, account_verification_letter: nil, request_options: {}) + # @!attribute funding_instructions + # Funding instructions. + # + # @return [Increase::Models::DocumentCreateParams::FundingInstructions, nil] + optional :funding_instructions, -> { Increase::DocumentCreateParams::FundingInstructions } + + # @!method initialize(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {}) # @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create. # # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. # + # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. + # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] # The type of document to create. @@ -33,6 +41,9 @@ module Category # An account verification letter. ACCOUNT_VERIFICATION_LETTER = :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS = :funding_instructions + # @!method self.values # @return [Array] end @@ -57,6 +68,19 @@ class AccountVerificationLetter < Increase::Internal::Type::BaseModel # # @param balance_date [Date] If provided, the letter will include the Account's balance as of the date. end + + class FundingInstructions < Increase::Internal::Type::BaseModel + # @!attribute account_number_id + # The Account Number the funding instructions should be generated for. + # + # @return [String] + required :account_number_id, String + + # @!method initialize(account_number_id:) + # Funding instructions. + # + # @param account_number_id [String] The Account Number the funding instructions should be generated for. + end end end end diff --git a/lib/increase/models/document_list_params.rb b/lib/increase/models/document_list_params.rb index f50cd99b8..ac5ceec59 100644 --- a/lib/increase/models/document_list_params.rb +++ b/lib/increase/models/document_list_params.rb @@ -98,6 +98,9 @@ module In # An account verification letter. ACCOUNT_VERIFICATION_LETTER = :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS = :funding_instructions + # @!method self.values # @return [Array] end diff --git a/lib/increase/models/file.rb b/lib/increase/models/file.rb index 039061bd9..56b2af024 100644 --- a/lib/increase/models/file.rb +++ b/lib/increase/models/file.rb @@ -192,6 +192,9 @@ module Purpose # An account verification letter. ACCOUNT_VERIFICATION_LETTER = :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS = :funding_instructions + # @!method self.values # @return [Array] end diff --git a/lib/increase/models/file_list_params.rb b/lib/increase/models/file_list_params.rb index 042f9cb1a..c381d278e 100644 --- a/lib/increase/models/file_list_params.rb +++ b/lib/increase/models/file_list_params.rb @@ -194,6 +194,9 @@ module In # An account verification letter. ACCOUNT_VERIFICATION_LETTER = :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS = :funding_instructions + # @!method self.values # @return [Array] end diff --git a/lib/increase/resources/documents.rb b/lib/increase/resources/documents.rb index 2251553b9..3b132afe4 100644 --- a/lib/increase/resources/documents.rb +++ b/lib/increase/resources/documents.rb @@ -5,12 +5,14 @@ module Resources class Documents # Create a Document # - # @overload create(category:, account_verification_letter: nil, request_options: {}) + # @overload create(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {}) # # @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create. # # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. # + # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. + # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # # @return [Increase::Models::Document] diff --git a/rbi/increase/models/document.rbi b/rbi/increase/models/document.rbi index 9e66132ef..106efe066 100644 --- a/rbi/increase/models/document.rbi +++ b/rbi/increase/models/document.rbi @@ -39,6 +39,18 @@ module Increase sig { returns(String) } attr_accessor :file_id + # Properties of a funding instructions document. + sig { returns(T.nilable(Increase::Document::FundingInstructions)) } + attr_reader :funding_instructions + + sig do + params( + funding_instructions: + T.nilable(Increase::Document::FundingInstructions::OrHash) + ).void + end + attr_writer :funding_instructions + # The idempotency key you chose for this object. This value is unique across # Increase and is used to ensure that a request is only processed once. Learn more # about [idempotency](https://increase.com/documentation/idempotency-keys). @@ -61,6 +73,8 @@ module Increase created_at: Time, entity_id: T.nilable(String), file_id: String, + funding_instructions: + T.nilable(Increase::Document::FundingInstructions::OrHash), idempotency_key: T.nilable(String), type: Increase::Document::Type::OrSymbol ).returns(T.attached_class) @@ -79,6 +93,8 @@ module Increase entity_id:, # The identifier of the File containing the Document's contents. file_id:, + # Properties of a funding instructions document. + funding_instructions:, # The idempotency key you chose for this object. This value is unique across # Increase and is used to ensure that a request is only processed once. Learn more # about [idempotency](https://increase.com/documentation/idempotency-keys). @@ -99,6 +115,8 @@ module Increase created_at: Time, entity_id: T.nilable(String), file_id: String, + funding_instructions: + T.nilable(Increase::Document::FundingInstructions), idempotency_key: T.nilable(String), type: Increase::Document::Type::TaggedSymbol } @@ -170,6 +188,13 @@ module Increase Increase::Document::Category::TaggedSymbol ) + # Funding instructions. + FUNDING_INSTRUCTIONS = + T.let( + :funding_instructions, + Increase::Document::Category::TaggedSymbol + ) + sig do override.returns(T::Array[Increase::Document::Category::TaggedSymbol]) end @@ -177,6 +202,32 @@ module Increase end end + class FundingInstructions < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Document::FundingInstructions, + Increase::Internal::AnyHash + ) + end + + # The identifier of the Account Number the document was generated for. + sig { returns(String) } + attr_accessor :account_number_id + + # Properties of a funding instructions document. + sig { params(account_number_id: String).returns(T.attached_class) } + def self.new( + # The identifier of the Account Number the document was generated for. + account_number_id: + ) + end + + sig { override.returns({ account_number_id: String }) } + def to_hash + end + end + # A constant representing the object's type. For this resource it will always be # `document`. module Type diff --git a/rbi/increase/models/document_create_params.rbi b/rbi/increase/models/document_create_params.rbi index a4a9163b4..3f65a49ef 100644 --- a/rbi/increase/models/document_create_params.rbi +++ b/rbi/increase/models/document_create_params.rbi @@ -31,11 +31,27 @@ module Increase end attr_writer :account_verification_letter + # Funding instructions. + sig do + returns(T.nilable(Increase::DocumentCreateParams::FundingInstructions)) + end + attr_reader :funding_instructions + + sig do + params( + funding_instructions: + Increase::DocumentCreateParams::FundingInstructions::OrHash + ).void + end + attr_writer :funding_instructions + sig do params( category: Increase::DocumentCreateParams::Category::OrSymbol, account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter::OrHash, + funding_instructions: + Increase::DocumentCreateParams::FundingInstructions::OrHash, request_options: Increase::RequestOptions::OrHash ).returns(T.attached_class) end @@ -44,6 +60,8 @@ module Increase category:, # An account verification letter. account_verification_letter: nil, + # Funding instructions. + funding_instructions: nil, request_options: {} ) end @@ -54,6 +72,8 @@ module Increase category: Increase::DocumentCreateParams::Category::OrSymbol, account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter, + funding_instructions: + Increase::DocumentCreateParams::FundingInstructions, request_options: Increase::RequestOptions } ) @@ -78,6 +98,13 @@ module Increase Increase::DocumentCreateParams::Category::TaggedSymbol ) + # Funding instructions. + FUNDING_INSTRUCTIONS = + T.let( + :funding_instructions, + Increase::DocumentCreateParams::Category::TaggedSymbol + ) + sig do override.returns( T::Array[Increase::DocumentCreateParams::Category::TaggedSymbol] @@ -127,6 +154,32 @@ module Increase def to_hash end end + + class FundingInstructions < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::DocumentCreateParams::FundingInstructions, + Increase::Internal::AnyHash + ) + end + + # The Account Number the funding instructions should be generated for. + sig { returns(String) } + attr_accessor :account_number_id + + # Funding instructions. + sig { params(account_number_id: String).returns(T.attached_class) } + def self.new( + # The Account Number the funding instructions should be generated for. + account_number_id: + ) + end + + sig { override.returns({ account_number_id: String }) } + def to_hash + end + end end end end diff --git a/rbi/increase/models/document_list_params.rbi b/rbi/increase/models/document_list_params.rbi index 60c8a9ece..652bc94b1 100644 --- a/rbi/increase/models/document_list_params.rbi +++ b/rbi/increase/models/document_list_params.rbi @@ -201,6 +201,13 @@ module Increase Increase::DocumentListParams::Category::In::TaggedSymbol ) + # Funding instructions. + FUNDING_INSTRUCTIONS = + T.let( + :funding_instructions, + Increase::DocumentListParams::Category::In::TaggedSymbol + ) + sig do override.returns( T::Array[Increase::DocumentListParams::Category::In::TaggedSymbol] diff --git a/rbi/increase/models/file.rbi b/rbi/increase/models/file.rbi index e7025edc8..91eb861bc 100644 --- a/rbi/increase/models/file.rbi +++ b/rbi/increase/models/file.rbi @@ -265,6 +265,10 @@ module Increase Increase::File::Purpose::TaggedSymbol ) + # Funding instructions. + FUNDING_INSTRUCTIONS = + T.let(:funding_instructions, Increase::File::Purpose::TaggedSymbol) + sig do override.returns(T::Array[Increase::File::Purpose::TaggedSymbol]) end diff --git a/rbi/increase/models/file_list_params.rbi b/rbi/increase/models/file_list_params.rbi index d0564d6e5..b06ab40e3 100644 --- a/rbi/increase/models/file_list_params.rbi +++ b/rbi/increase/models/file_list_params.rbi @@ -396,6 +396,13 @@ module Increase Increase::FileListParams::Purpose::In::TaggedSymbol ) + # Funding instructions. + FUNDING_INSTRUCTIONS = + T.let( + :funding_instructions, + Increase::FileListParams::Purpose::In::TaggedSymbol + ) + sig do override.returns( T::Array[Increase::FileListParams::Purpose::In::TaggedSymbol] diff --git a/rbi/increase/resources/documents.rbi b/rbi/increase/resources/documents.rbi index 33ff7a77d..2ea3892cf 100644 --- a/rbi/increase/resources/documents.rbi +++ b/rbi/increase/resources/documents.rbi @@ -9,6 +9,8 @@ module Increase category: Increase::DocumentCreateParams::Category::OrSymbol, account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter::OrHash, + funding_instructions: + Increase::DocumentCreateParams::FundingInstructions::OrHash, request_options: Increase::RequestOptions::OrHash ).returns(Increase::Document) end @@ -17,6 +19,8 @@ module Increase category:, # An account verification letter. account_verification_letter: nil, + # Funding instructions. + funding_instructions: nil, request_options: {} ) end diff --git a/sig/increase/models/document.rbs b/sig/increase/models/document.rbs index bf45dd0ce..e20981d8d 100644 --- a/sig/increase/models/document.rbs +++ b/sig/increase/models/document.rbs @@ -8,6 +8,7 @@ module Increase created_at: Time, entity_id: String?, file_id: String, + funding_instructions: Increase::Document::FundingInstructions?, idempotency_key: String?, type: Increase::Models::Document::type_ } @@ -25,6 +26,8 @@ module Increase attr_accessor file_id: String + attr_accessor funding_instructions: Increase::Document::FundingInstructions? + attr_accessor idempotency_key: String? attr_accessor type: Increase::Models::Document::type_ @@ -36,6 +39,7 @@ module Increase created_at: Time, entity_id: String?, file_id: String, + funding_instructions: Increase::Document::FundingInstructions?, idempotency_key: String?, type: Increase::Models::Document::type_ ) -> void @@ -47,6 +51,7 @@ module Increase created_at: Time, entity_id: String?, file_id: String, + funding_instructions: Increase::Document::FundingInstructions?, idempotency_key: String?, type: Increase::Models::Document::type_ } @@ -67,6 +72,7 @@ module Increase | :proof_of_authorization | :company_information | :account_verification_letter + | :funding_instructions module Category extend Increase::Internal::Type::Enum @@ -86,9 +92,22 @@ module Increase # An account verification letter. ACCOUNT_VERIFICATION_LETTER: :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS: :funding_instructions + def self?.values: -> ::Array[Increase::Models::Document::category] end + type funding_instructions = { account_number_id: String } + + class FundingInstructions < Increase::Internal::Type::BaseModel + attr_accessor account_number_id: String + + def initialize: (account_number_id: String) -> void + + def to_hash: -> { account_number_id: String } + end + type type_ = :document module Type diff --git a/sig/increase/models/document_create_params.rbs b/sig/increase/models/document_create_params.rbs index d667ea47c..f3761ea1e 100644 --- a/sig/increase/models/document_create_params.rbs +++ b/sig/increase/models/document_create_params.rbs @@ -3,7 +3,8 @@ module Increase type document_create_params = { category: Increase::Models::DocumentCreateParams::category, - account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter + account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter, + funding_instructions: Increase::DocumentCreateParams::FundingInstructions } & Increase::Internal::Type::request_parameters @@ -19,19 +20,27 @@ module Increase Increase::DocumentCreateParams::AccountVerificationLetter ) -> Increase::DocumentCreateParams::AccountVerificationLetter + attr_reader funding_instructions: Increase::DocumentCreateParams::FundingInstructions? + + def funding_instructions=: ( + Increase::DocumentCreateParams::FundingInstructions + ) -> Increase::DocumentCreateParams::FundingInstructions + def initialize: ( category: Increase::Models::DocumentCreateParams::category, ?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter, + ?funding_instructions: Increase::DocumentCreateParams::FundingInstructions, ?request_options: Increase::request_opts ) -> void def to_hash: -> { category: Increase::Models::DocumentCreateParams::category, account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter, + funding_instructions: Increase::DocumentCreateParams::FundingInstructions, request_options: Increase::RequestOptions } - type category = :account_verification_letter + type category = :account_verification_letter | :funding_instructions module Category extend Increase::Internal::Type::Enum @@ -39,6 +48,9 @@ module Increase # An account verification letter. ACCOUNT_VERIFICATION_LETTER: :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS: :funding_instructions + def self?.values: -> ::Array[Increase::Models::DocumentCreateParams::category] end @@ -56,6 +68,16 @@ module Increase def to_hash: -> { account_number_id: String, balance_date: Date } end + + type funding_instructions = { account_number_id: String } + + class FundingInstructions < Increase::Internal::Type::BaseModel + attr_accessor account_number_id: String + + def initialize: (account_number_id: String) -> void + + def to_hash: -> { account_number_id: String } + end end end end diff --git a/sig/increase/models/document_list_params.rbs b/sig/increase/models/document_list_params.rbs index f22754ee3..a25e39283 100644 --- a/sig/increase/models/document_list_params.rbs +++ b/sig/increase/models/document_list_params.rbs @@ -87,6 +87,7 @@ module Increase | :proof_of_authorization | :company_information | :account_verification_letter + | :funding_instructions module In extend Increase::Internal::Type::Enum @@ -106,6 +107,9 @@ module Increase # An account verification letter. ACCOUNT_VERIFICATION_LETTER: :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS: :funding_instructions + def self?.values: -> ::Array[Increase::Models::DocumentListParams::Category::in_] end end diff --git a/sig/increase/models/file.rbs b/sig/increase/models/file.rbs index 5705f19d0..392cd5d00 100644 --- a/sig/increase/models/file.rbs +++ b/sig/increase/models/file.rbs @@ -97,6 +97,7 @@ module Increase | :deposit_account_control_agreement | :proof_of_authorization_request_submission | :account_verification_letter + | :funding_instructions module Purpose extend Increase::Internal::Type::Enum @@ -179,6 +180,9 @@ module Increase # An account verification letter. ACCOUNT_VERIFICATION_LETTER: :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS: :funding_instructions + def self?.values: -> ::Array[Increase::Models::File::purpose] end diff --git a/sig/increase/models/file_list_params.rbs b/sig/increase/models/file_list_params.rbs index 679c0975d..04b0d770c 100644 --- a/sig/increase/models/file_list_params.rbs +++ b/sig/increase/models/file_list_params.rbs @@ -136,6 +136,7 @@ module Increase | :deposit_account_control_agreement | :proof_of_authorization_request_submission | :account_verification_letter + | :funding_instructions module In extend Increase::Internal::Type::Enum @@ -218,6 +219,9 @@ module Increase # An account verification letter. ACCOUNT_VERIFICATION_LETTER: :account_verification_letter + # Funding instructions. + FUNDING_INSTRUCTIONS: :funding_instructions + def self?.values: -> ::Array[Increase::Models::FileListParams::Purpose::in_] end end diff --git a/sig/increase/resources/documents.rbs b/sig/increase/resources/documents.rbs index 868deeded..487696f9a 100644 --- a/sig/increase/resources/documents.rbs +++ b/sig/increase/resources/documents.rbs @@ -4,6 +4,7 @@ module Increase def create: ( category: Increase::Models::DocumentCreateParams::category, ?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter, + ?funding_instructions: Increase::DocumentCreateParams::FundingInstructions, ?request_options: Increase::request_opts ) -> Increase::Document diff --git a/test/increase/resources/documents_test.rb b/test/increase/resources/documents_test.rb index 9742598ee..f3b2aa6ad 100644 --- a/test/increase/resources/documents_test.rb +++ b/test/increase/resources/documents_test.rb @@ -18,6 +18,7 @@ def test_create_required_params created_at: Time, entity_id: String | nil, file_id: String, + funding_instructions: Increase::Document::FundingInstructions | nil, idempotency_key: String | nil, type: Increase::Document::Type } @@ -39,6 +40,7 @@ def test_retrieve created_at: Time, entity_id: String | nil, file_id: String, + funding_instructions: Increase::Document::FundingInstructions | nil, idempotency_key: String | nil, type: Increase::Document::Type } @@ -67,6 +69,7 @@ def test_list created_at: Time, entity_id: String | nil, file_id: String, + funding_instructions: Increase::Document::FundingInstructions | nil, idempotency_key: String | nil, type: Increase::Document::Type } diff --git a/test/increase/resources/simulations/documents_test.rb b/test/increase/resources/simulations/documents_test.rb index c04de69d6..4cacdb401 100644 --- a/test/increase/resources/simulations/documents_test.rb +++ b/test/increase/resources/simulations/documents_test.rb @@ -18,6 +18,7 @@ def test_create_required_params created_at: Time, entity_id: String | nil, file_id: String, + funding_instructions: Increase::Document::FundingInstructions | nil, idempotency_key: String | nil, type: Increase::Document::Type } From ac70e9e11eeb6ea17652fe5c017f94f87a67eb36 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 00:14:17 +0000 Subject: [PATCH 2/2] release: 1.2.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 2601677b9..d0ab6645f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.0" + ".": "1.2.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 47fbe8df7..1769e5583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.2.0 (2025-06-24) + +Full Changelog: [v1.1.0...v1.2.0](https://github.com/Increase/increase-ruby/compare/v1.1.0...v1.2.0) + +### Features + +* **api:** api update ([2b5da1c](https://github.com/Increase/increase-ruby/commit/2b5da1c10f75b8a65c2370858c08eadf4268b044)) + ## 1.1.0 (2025-06-23) Full Changelog: [v1.0.0...v1.1.0](https://github.com/Increase/increase-ruby/compare/v1.0.0...v1.1.0) diff --git a/Gemfile.lock b/Gemfile.lock index 5f0aab5d8..f9a0f75f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.1.0) + increase (1.2.0) connection_pool GEM diff --git a/README.md b/README.md index 7847ba5a6..e0b692118 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.1.0" +gem "increase", "~> 1.2.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index fcc69a55d..bcb32876b 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.1.0" + VERSION = "1.2.0" end