From cac70b5a0f8fde1778cdb05d8b2d284f3b9301b4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:29:32 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/inbound_wire_transfer.rb | 3 +++ .../models/inbound_wire_transfer_reverse_params.rb | 3 +++ rbi/increase/models/inbound_wire_transfer.rbi | 7 +++++++ .../models/inbound_wire_transfer_reverse_params.rbi | 7 +++++++ sig/increase/models/inbound_wire_transfer.rbs | 5 ++++- .../models/inbound_wire_transfer_reverse_params.rbs | 5 ++++- 7 files changed, 30 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 17143d76e..1df97ed70 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 230 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fcf5debcde4487c85173470c99063002845f6b3fcee79ab92b89f421c30bbe93.yml -openapi_spec_hash: c58e376475a7175b6ae0fd48a9e1d8a1 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1d2c6658404319b576b7bc1c75242f23493b8ffedefd81b41b36dc5456af766a.yml +openapi_spec_hash: 0d8eeda32c249e6371843545f8f211ff config_hash: ff2eb5f192b4de36611b37b27961c2d8 diff --git a/lib/increase/models/inbound_wire_transfer.rb b/lib/increase/models/inbound_wire_transfer.rb index 72c762a2b..549c59b51 100644 --- a/lib/increase/models/inbound_wire_transfer.rb +++ b/lib/increase/models/inbound_wire_transfer.rb @@ -249,6 +249,9 @@ module Reason # The recipient of the wire transfer requested the funds be returned to the sender. CREDITOR_REQUEST = :creditor_request + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN = :transaction_forbidden + # @!method self.values # @return [Array] end diff --git a/lib/increase/models/inbound_wire_transfer_reverse_params.rb b/lib/increase/models/inbound_wire_transfer_reverse_params.rb index 07658d945..9a358abdb 100644 --- a/lib/increase/models/inbound_wire_transfer_reverse_params.rb +++ b/lib/increase/models/inbound_wire_transfer_reverse_params.rb @@ -28,6 +28,9 @@ module Reason # The recipient of the wire transfer requested the funds be returned to the sender. CREDITOR_REQUEST = :creditor_request + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN = :transaction_forbidden + # @!method self.values # @return [Array] end diff --git a/rbi/increase/models/inbound_wire_transfer.rbi b/rbi/increase/models/inbound_wire_transfer.rbi index ce407f45f..e961ce5d3 100644 --- a/rbi/increase/models/inbound_wire_transfer.rbi +++ b/rbi/increase/models/inbound_wire_transfer.rbi @@ -315,6 +315,13 @@ module Increase Increase::InboundWireTransfer::Reversal::Reason::TaggedSymbol ) + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN = + T.let( + :transaction_forbidden, + Increase::InboundWireTransfer::Reversal::Reason::TaggedSymbol + ) + sig do override.returns( T::Array[ diff --git a/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi b/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi index 6c8ad294f..895cd1fc4 100644 --- a/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi +++ b/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi @@ -69,6 +69,13 @@ module Increase Increase::InboundWireTransferReverseParams::Reason::TaggedSymbol ) + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN = + T.let( + :transaction_forbidden, + Increase::InboundWireTransferReverseParams::Reason::TaggedSymbol + ) + sig do override.returns( T::Array[ diff --git a/sig/increase/models/inbound_wire_transfer.rbs b/sig/increase/models/inbound_wire_transfer.rbs index 88b760173..9a9fcda01 100644 --- a/sig/increase/models/inbound_wire_transfer.rbs +++ b/sig/increase/models/inbound_wire_transfer.rbs @@ -152,7 +152,7 @@ module Increase reversed_at: Time } - type reason = :duplicate | :creditor_request + type reason = :duplicate | :creditor_request | :transaction_forbidden module Reason extend Increase::Internal::Type::Enum @@ -163,6 +163,9 @@ module Increase # The recipient of the wire transfer requested the funds be returned to the sender. CREDITOR_REQUEST: :creditor_request + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN: :transaction_forbidden + def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::Reversal::reason] end end diff --git a/sig/increase/models/inbound_wire_transfer_reverse_params.rbs b/sig/increase/models/inbound_wire_transfer_reverse_params.rbs index 3e3abad30..0c8de9e71 100644 --- a/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +++ b/sig/increase/models/inbound_wire_transfer_reverse_params.rbs @@ -20,7 +20,7 @@ module Increase request_options: Increase::RequestOptions } - type reason = :duplicate | :creditor_request + type reason = :duplicate | :creditor_request | :transaction_forbidden module Reason extend Increase::Internal::Type::Enum @@ -31,6 +31,9 @@ module Increase # The recipient of the wire transfer requested the funds be returned to the sender. CREDITOR_REQUEST: :creditor_request + # The account cannot currently receive inbound wires. + TRANSACTION_FORBIDDEN: :transaction_forbidden + def self?.values: -> ::Array[Increase::Models::InboundWireTransferReverseParams::reason] end end From af8ae97f8b2385687043f3bb4f0aa45ecebbeb56 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 16 Dec 2025 21:30:14 +0000 Subject: [PATCH 2/2] release: 1.165.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 1c186d1a9..7361a57fb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.164.1" + ".": "1.165.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e3e205087..b8b9fd4af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.165.0 (2025-12-16) + +Full Changelog: [v1.164.1...v1.165.0](https://github.com/Increase/increase-ruby/compare/v1.164.1...v1.165.0) + +### Features + +* **api:** api update ([cac70b5](https://github.com/Increase/increase-ruby/commit/cac70b5a0f8fde1778cdb05d8b2d284f3b9301b4)) + ## 1.164.1 (2025-12-16) Full Changelog: [v1.164.0...v1.164.1](https://github.com/Increase/increase-ruby/compare/v1.164.0...v1.164.1) diff --git a/Gemfile.lock b/Gemfile.lock index 53d850390..c66eef08d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.164.1) + increase (1.165.0) connection_pool GEM diff --git a/README.md b/README.md index d7389df4a..efaf28389 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.164.1" +gem "increase", "~> 1.165.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 975192207..0989fdaab 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.164.1" + VERSION = "1.165.0" end