From 7cc9b38ab4242f628beabcd2b087860897dcbb9e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Jun 2025 03:30:18 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/physical_card.rb | 3 +++ .../simulations/physical_card_advance_shipment_params.rb | 3 +++ rbi/increase/models/physical_card.rbi | 7 +++++++ .../simulations/physical_card_advance_shipment_params.rbi | 7 +++++++ sig/increase/models/physical_card.rbs | 4 ++++ .../simulations/physical_card_advance_shipment_params.rbs | 4 ++++ 7 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index c20d72427..8987be955 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-2c62370ab61731722fddc5be1652ccfd9188ae052be44fae639b4a7920afc3b3.yml -openapi_spec_hash: aefdd344388757e80e1fea0ad0506be8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-28729916b00389bc7694a721eac0688ab5405bbc29b7df60708d6abaabd89c29.yml +openapi_spec_hash: e28396bf17aa29a4454a73b2e21ba852 config_hash: 97774f946585cecb19181a1817870d0b diff --git a/lib/increase/models/physical_card.rb b/lib/increase/models/physical_card.rb index 9e3807110..28815bd1d 100644 --- a/lib/increase/models/physical_card.rb +++ b/lib/increase/models/physical_card.rb @@ -257,6 +257,9 @@ module Status # The physical card shipment was returned to the sender and destroyed by the production facility. RETURNED = :returned + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION = :requires_attention + # @!method self.values # @return [Array] end diff --git a/lib/increase/models/simulations/physical_card_advance_shipment_params.rb b/lib/increase/models/simulations/physical_card_advance_shipment_params.rb index 6e14bd0b3..38166d4cf 100644 --- a/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +++ b/lib/increase/models/simulations/physical_card_advance_shipment_params.rb @@ -45,6 +45,9 @@ module ShipmentStatus # The physical card shipment was returned to the sender and destroyed by the production facility. RETURNED = :returned + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION = :requires_attention + # @!method self.values # @return [Array] end diff --git a/rbi/increase/models/physical_card.rbi b/rbi/increase/models/physical_card.rbi index 75eecbe74..c8303f8eb 100644 --- a/rbi/increase/models/physical_card.rbi +++ b/rbi/increase/models/physical_card.rbi @@ -406,6 +406,13 @@ module Increase Increase::PhysicalCard::Shipment::Status::TaggedSymbol ) + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION = + T.let( + :requires_attention, + Increase::PhysicalCard::Shipment::Status::TaggedSymbol + ) + sig do override.returns( T::Array[Increase::PhysicalCard::Shipment::Status::TaggedSymbol] diff --git a/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi b/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi index ffe3e936c..0fbc7bee6 100644 --- a/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi +++ b/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi @@ -111,6 +111,13 @@ module Increase Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus::TaggedSymbol ) + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION = + T.let( + :requires_attention, + Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus::TaggedSymbol + ) + sig do override.returns( T::Array[ diff --git a/sig/increase/models/physical_card.rbs b/sig/increase/models/physical_card.rbs index f6468505b..9c8aa4351 100644 --- a/sig/increase/models/physical_card.rbs +++ b/sig/increase/models/physical_card.rbs @@ -171,6 +171,7 @@ module Increase | :rejected | :shipped | :returned + | :requires_attention module Status extend Increase::Internal::Type::Enum @@ -196,6 +197,9 @@ module Increase # The physical card shipment was returned to the sender and destroyed by the production facility. RETURNED: :returned + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION: :requires_attention + def self?.values: -> ::Array[Increase::Models::PhysicalCard::Shipment::status] end diff --git a/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs b/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs index 3fa576280..8e9936259 100644 --- a/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs +++ b/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs @@ -31,6 +31,7 @@ module Increase | :rejected | :shipped | :returned + | :requires_attention module ShipmentStatus extend Increase::Internal::Type::Enum @@ -56,6 +57,9 @@ module Increase # The physical card shipment was returned to the sender and destroyed by the production facility. RETURNED: :returned + # The physical card shipment requires attention from Increase before progressing. + REQUIRES_ATTENTION: :requires_attention + def self?.values: -> ::Array[Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams::shipment_status] end end From 14ac6b943f44ab5d4bd8fe3fe3a55d1899e3ecf8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Jun 2025 03:30:36 +0000 Subject: [PATCH 2/2] release: 0.1.0-alpha.34 --- .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 ff4f9a504..36b2affb8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.33" + ".": "0.1.0-alpha.34" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b2402a5aa..e8707ddb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.34 (2025-06-13) + +Full Changelog: [v0.1.0-alpha.33...v0.1.0-alpha.34](https://github.com/Increase/increase-ruby/compare/v0.1.0-alpha.33...v0.1.0-alpha.34) + +### Features + +* **api:** api update ([7cc9b38](https://github.com/Increase/increase-ruby/commit/7cc9b38ab4242f628beabcd2b087860897dcbb9e)) + ## 0.1.0-alpha.33 (2025-06-12) Full Changelog: [v0.1.0-alpha.32...v0.1.0-alpha.33](https://github.com/Increase/increase-ruby/compare/v0.1.0-alpha.32...v0.1.0-alpha.33) diff --git a/Gemfile.lock b/Gemfile.lock index 5b2bd2a68..76b4b8386 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (0.1.0.pre.alpha.33) + increase (0.1.0.pre.alpha.34) connection_pool GEM diff --git a/README.md b/README.md index dfbc2fff9..a0aa86bb5 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", "~> 0.1.0.pre.alpha.33" +gem "increase", "~> 0.1.0.pre.alpha.34" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index f6a07b531..881b29771 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "0.1.0.pre.alpha.33" + VERSION = "0.1.0.pre.alpha.34" end