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.125.0"
".": "1.126.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: 228
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3d5a35f67916cc1c9e9e4df38edbf72b926effa0faf60ea5cb7047a4a2d7f3c7.yml
openapi_spec_hash: 33c55e463f9bf747f502bdb38d5e2622
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-44b5f1aa7877231cd00051536df52b79d7cdc9cdd18194e9d58416a23c0e3080.yml
openapi_spec_hash: 60f0bd1ca37c9a57996238e105cca091
config_hash: eb2035151c7b49c2f12caf55469b8f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.126.0 (2025-10-31)

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

### Features

* **api:** api update ([4875d87](https://github.com/Increase/increase-ruby/commit/4875d8772019de4cdbd528c277c2bf4b4b125570))

## 1.125.0 (2025-10-31)

Full Changelog: [v1.124.0...v1.125.0](https://github.com/Increase/increase-ruby/compare/v1.124.0...v1.125.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.125.0)
increase (1.126.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.125.0"
gem "increase", "~> 1.126.0"
```

<!-- x-release-please-end -->
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/export_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,14 @@ class AccountStatementBai2 < Increase::Internal::Type::BaseModel
# @return [Date, nil]
optional :effective_date, Date

# @!method initialize(account_id: nil, effective_date: nil)
# @!attribute program_id
# The Program to create a BAI2 report for. If not provided, all open accounts will
# be included.
#
# @return [String, nil]
optional :program_id, String

# @!method initialize(account_id: nil, effective_date: nil, program_id: nil)
# Some parameter documentations has been truncated, see
# {Increase::Models::ExportCreateParams::AccountStatementBai2} for more details.
#
Expand All @@ -141,6 +148,8 @@ class AccountStatementBai2 < Increase::Internal::Type::BaseModel
# @param account_id [String] The Account to create a BAI2 report for. If not provided, all open accounts will
#
# @param effective_date [Date] The date to create a BAI2 report for. If not provided, the current date will be
#
# @param program_id [String] The Program to create a BAI2 report for. If not provided, all open accounts will
end

class AccountStatementOfx < Increase::Internal::Type::BaseModel
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.125.0"
VERSION = "1.126.0"
end
27 changes: 22 additions & 5 deletions rbi/increase/models/export_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,22 @@ module Increase
sig { params(effective_date: Date).void }
attr_writer :effective_date

# The Program to create a BAI2 report for. If not provided, all open accounts will
# be included.
sig { returns(T.nilable(String)) }
attr_reader :program_id

sig { params(program_id: String).void }
attr_writer :program_id

# Options for the created export. Required if `category` is equal to
# `account_statement_bai2`.
sig do
params(account_id: String, effective_date: Date).returns(
T.attached_class
)
params(
account_id: String,
effective_date: Date,
program_id: String
).returns(T.attached_class)
end
def self.new(
# The Account to create a BAI2 report for. If not provided, all open accounts will
Expand All @@ -273,11 +283,18 @@ module Increase
# used. The timezone is UTC. If the current date is used, the report will include
# intraday balances, otherwise it will include end-of-day balances for the
# provided date.
effective_date: nil
effective_date: nil,
# The Program to create a BAI2 report for. If not provided, all open accounts will
# be included.
program_id: nil
)
end

sig { override.returns({ account_id: String, effective_date: Date }) }
sig do
override.returns(
{ account_id: String, effective_date: Date, program_id: String }
)
end
def to_hash
end
end
Expand Down
19 changes: 16 additions & 3 deletions sig/increase/models/export_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ module Increase
def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
end

type account_statement_bai2 = { account_id: String, effective_date: Date }
type account_statement_bai2 =
{ account_id: String, effective_date: Date, program_id: String }

class AccountStatementBai2 < Increase::Internal::Type::BaseModel
attr_reader account_id: String?
Expand All @@ -130,9 +131,21 @@ module Increase

def effective_date=: (Date) -> Date

def initialize: (?account_id: String, ?effective_date: Date) -> void
attr_reader program_id: String?

def program_id=: (String) -> String

def initialize: (
?account_id: String,
?effective_date: Date,
?program_id: String
) -> void

def to_hash: -> { account_id: String, effective_date: Date }
def to_hash: -> {
account_id: String,
effective_date: Date,
program_id: String
}
end

type account_statement_ofx =
Expand Down