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.54.0"
".": "1.55.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: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a98d22578526265c9d1ef5ee69db277ab4e3548d5f12ab740eabc7babd33ba1c.yml
openapi_spec_hash: eefa018725a526a04f4fda690fedf0ec
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1c5db818b8692ac57a83f3785c2f0a1d1ea95b9ed35fd4632619947448c22526.yml
openapi_spec_hash: 0b2954fbe726a422219f22f5cddda6d6
config_hash: 632b628b59d8f0b717153b3d8133f6cb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.55.0 (2025-08-27)

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

### Features

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

## 1.54.0 (2025-08-27)

Full Changelog: [v1.53.0...v1.54.0](https://github.com/Increase/increase-ruby/compare/v1.53.0...v1.54.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.54.0)
increase (1.55.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.54.0"
gem "increase", "~> 1.55.0"
```

<!-- x-release-please-end -->
Expand Down
3 changes: 2 additions & 1 deletion lib/increase/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class Account < Increase::Internal::Type::BaseModel
# @!attribute account_revenue_rate
# The account revenue rate currently being earned on the account, as a string
# containing a decimal number. For example, a 1% account revenue rate would be
# represented as "0.01".
# represented as "0.01". Account revenue is a type of non-interest income accrued
# on the account.
#
# @return [String, nil]
required :account_revenue_rate, String, nil?: true
Expand Down
53 changes: 52 additions & 1 deletion lib/increase/models/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,19 @@ module RouteType

# @see Increase::Models::Transaction#source
class Source < Increase::Internal::Type::BaseModel
# @!attribute account_revenue_payment
# An Account Revenue Payment object. This field will be present in the JSON
# response if and only if `category` is equal to `account_revenue_payment`. A
# Account Revenue Payment represents a payment made to an account from the bank.
# Account revenue is a type of non-interest income.
#
# @return [Increase::Models::Transaction::Source::AccountRevenuePayment, nil]
required :account_revenue_payment,
-> {
Increase::Transaction::Source::AccountRevenuePayment
},
nil?: true

# @!attribute account_transfer_intention
# An Account Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `account_transfer_intention`. Two
Expand Down Expand Up @@ -494,7 +507,7 @@ class Source < Increase::Internal::Type::BaseModel
},
nil?: true

# @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, swift_transfer_return:, wire_transfer_intention:)
# @!method initialize(account_revenue_payment:, account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, swift_transfer_return:, wire_transfer_intention:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source} for more details.
#
Expand All @@ -503,6 +516,8 @@ class Source < Increase::Internal::Type::BaseModel
# undocumented keys may appear in this object. These should be treated as
# deprecated and will be removed in the future.
#
# @param account_revenue_payment [Increase::Models::Transaction::Source::AccountRevenuePayment, nil] An Account Revenue Payment object. This field will be present in the JSON respon
#
# @param account_transfer_intention [Increase::Models::Transaction::Source::AccountTransferIntention, nil] An Account Transfer Intention object. This field will be present in the JSON res
#
# @param ach_transfer_intention [Increase::Models::Transaction::Source::ACHTransferIntention, nil] An ACH Transfer Intention object. This field will be present in the JSON respons
Expand Down Expand Up @@ -569,6 +584,39 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons

# @see Increase::Models::Transaction::Source#account_revenue_payment
class AccountRevenuePayment < Increase::Internal::Type::BaseModel
# @!attribute accrued_on_account_id
# The account on which the account revenue was accrued.
#
# @return [String]
required :accrued_on_account_id, String

# @!attribute period_end
# The end of the period for which this transaction paid account revenue.
#
# @return [Time]
required :period_end, Time

# @!attribute period_start
# The start of the period for which this transaction paid account revenue.
#
# @return [Time]
required :period_start, Time

# @!method initialize(accrued_on_account_id:, period_end:, period_start:)
# An Account Revenue Payment object. This field will be present in the JSON
# response if and only if `category` is equal to `account_revenue_payment`. A
# Account Revenue Payment represents a payment made to an account from the bank.
# Account revenue is a type of non-interest income.
#
# @param accrued_on_account_id [String] The account on which the account revenue was accrued.
#
# @param period_end [Time] The end of the period for which this transaction paid account revenue.
#
# @param period_start [Time] The start of the period for which this transaction paid account revenue.
end

# @see Increase::Models::Transaction::Source#account_transfer_intention
class AccountTransferIntention < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down Expand Up @@ -4253,6 +4301,9 @@ module Category
# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance

# Account Revenue Payment: details will be under the `account_revenue_payment` object.
ACCOUNT_REVENUE_PAYMENT = :account_revenue_payment

# The Transaction was made for an undocumented or deprecated reason.
OTHER = :other

Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/transaction_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ module In
# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance

# Account Revenue Payment: details will be under the `account_revenue_payment` object.
ACCOUNT_REVENUE_PAYMENT = :account_revenue_payment

# The Transaction was made for an undocumented or deprecated reason.
OTHER = :other

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.54.0"
VERSION = "1.55.0"
end
6 changes: 4 additions & 2 deletions rbi/increase/models/account.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module Increase

# The account revenue rate currently being earned on the account, as a string
# containing a decimal number. For example, a 1% account revenue rate would be
# represented as "0.01".
# represented as "0.01". Account revenue is a type of non-interest income accrued
# on the account.
sig { returns(T.nilable(String)) }
attr_accessor :account_revenue_rate

Expand Down Expand Up @@ -111,7 +112,8 @@ module Increase
id:,
# The account revenue rate currently being earned on the account, as a string
# containing a decimal number. For example, a 1% account revenue rate would be
# represented as "0.01".
# represented as "0.01". Account revenue is a type of non-interest income accrued
# on the account.
account_revenue_rate:,
# The bank the Account is with.
bank:,
Expand Down
94 changes: 94 additions & 0 deletions rbi/increase/models/transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,27 @@ module Increase
T.any(Increase::Transaction::Source, Increase::Internal::AnyHash)
end

# An Account Revenue Payment object. This field will be present in the JSON
# response if and only if `category` is equal to `account_revenue_payment`. A
# Account Revenue Payment represents a payment made to an account from the bank.
# Account revenue is a type of non-interest income.
sig do
returns(
T.nilable(Increase::Transaction::Source::AccountRevenuePayment)
)
end
attr_reader :account_revenue_payment

sig do
params(
account_revenue_payment:
T.nilable(
Increase::Transaction::Source::AccountRevenuePayment::OrHash
)
).void
end
attr_writer :account_revenue_payment

# An Account Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `account_transfer_intention`. Two
# Account Transfer Intentions are created from each Account Transfer. One
Expand Down Expand Up @@ -833,6 +854,10 @@ module Increase
# deprecated and will be removed in the future.
sig do
params(
account_revenue_payment:
T.nilable(
Increase::Transaction::Source::AccountRevenuePayment::OrHash
),
account_transfer_intention:
T.nilable(
Increase::Transaction::Source::AccountTransferIntention::OrHash
Expand Down Expand Up @@ -946,6 +971,11 @@ module Increase
).returns(T.attached_class)
end
def self.new(
# An Account Revenue Payment object. This field will be present in the JSON
# response if and only if `category` is equal to `account_revenue_payment`. A
# Account Revenue Payment represents a payment made to an account from the bank.
# Account revenue is a type of non-interest income.
account_revenue_payment:,
# An Account Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `account_transfer_intention`. Two
# Account Transfer Intentions are created from each Account Transfer. One
Expand Down Expand Up @@ -1116,6 +1146,8 @@ module Increase
sig do
override.returns(
{
account_revenue_payment:
T.nilable(Increase::Transaction::Source::AccountRevenuePayment),
account_transfer_intention:
T.nilable(
Increase::Transaction::Source::AccountTransferIntention
Expand Down Expand Up @@ -1204,6 +1236,61 @@ module Increase
def to_hash
end

class AccountRevenuePayment < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
T.any(
Increase::Transaction::Source::AccountRevenuePayment,
Increase::Internal::AnyHash
)
end

# The account on which the account revenue was accrued.
sig { returns(String) }
attr_accessor :accrued_on_account_id

# The end of the period for which this transaction paid account revenue.
sig { returns(Time) }
attr_accessor :period_end

# The start of the period for which this transaction paid account revenue.
sig { returns(Time) }
attr_accessor :period_start

# An Account Revenue Payment object. This field will be present in the JSON
# response if and only if `category` is equal to `account_revenue_payment`. A
# Account Revenue Payment represents a payment made to an account from the bank.
# Account revenue is a type of non-interest income.
sig do
params(
accrued_on_account_id: String,
period_end: Time,
period_start: Time
).returns(T.attached_class)
end
def self.new(
# The account on which the account revenue was accrued.
accrued_on_account_id:,
# The end of the period for which this transaction paid account revenue.
period_end:,
# The start of the period for which this transaction paid account revenue.
period_start:
)
end

sig do
override.returns(
{
accrued_on_account_id: String,
period_end: Time,
period_start: Time
}
)
end
def to_hash
end
end

class AccountTransferIntention < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down Expand Up @@ -7929,6 +8016,13 @@ module Increase
Increase::Transaction::Source::Category::TaggedSymbol
)

# Account Revenue Payment: details will be under the `account_revenue_payment` object.
ACCOUNT_REVENUE_PAYMENT =
T.let(
:account_revenue_payment,
Increase::Transaction::Source::Category::TaggedSymbol
)

# The Transaction was made for an undocumented or deprecated reason.
OTHER =
T.let(:other, Increase::Transaction::Source::Category::TaggedSymbol)
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/transaction_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ module Increase
Increase::TransactionListParams::Category::In::TaggedSymbol
)

# Account Revenue Payment: details will be under the `account_revenue_payment` object.
ACCOUNT_REVENUE_PAYMENT =
T.let(
:account_revenue_payment,
Increase::TransactionListParams::Category::In::TaggedSymbol
)

# The Transaction was made for an undocumented or deprecated reason.
OTHER =
T.let(
Expand Down
Loading