From 76b55a5d0254bf59bd03e72bb5db7b828d9dbd4c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Sep 2025 18:28:38 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +-- .../physical_card_profile_create_params.rb | 20 +++++++++++++- .../resources/physical_card_profiles.rb | 6 ++++- .../physical_card_profile_create_params.rbi | 26 +++++++++++++++++++ .../resources/physical_card_profiles.rbi | 8 ++++++ .../physical_card_profile_create_params.rbs | 14 ++++++++++ .../resources/physical_card_profiles.rbs | 2 ++ 7 files changed, 76 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index a123afd0f..4046227bc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 216 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4951789bd74367647a7109ac527206883115628aac13b8131b0bc046ead9cc5c.yml -openapi_spec_hash: 924a557a551c40624e4fe4703dec71cc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fbdfb5721d0c46a176ee6d81936d2710556c39cc486c5de246cc17b0503ee408.yml +openapi_spec_hash: 66c900a94b458e5b796ac1d2a5fceb13 config_hash: 632b628b59d8f0b717153b3d8133f6cb diff --git a/lib/increase/models/physical_card_profile_create_params.rb b/lib/increase/models/physical_card_profile_create_params.rb index e4fa0534a..d7bbc47cb 100644 --- a/lib/increase/models/physical_card_profile_create_params.rb +++ b/lib/increase/models/physical_card_profile_create_params.rb @@ -37,6 +37,20 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel # @return [String] required :program_id, String + # @!attribute card_stock_reference + # A reference ID provided by the fulfillment provider for the card stock used. + # Only used if you've ordered card stock separately. + # + # @return [String, nil] + optional :card_stock_reference, String + + # @!attribute carrier_stock_reference + # A reference ID provided by the fulfillment provider for the carrier stock used. + # Only used if you've ordered carrier stock separately. + # + # @return [String, nil] + optional :carrier_stock_reference, String + # @!attribute front_text # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. @@ -44,7 +58,7 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel # @return [Increase::Models::PhysicalCardProfileCreateParams::FrontText, nil] optional :front_text, -> { Increase::PhysicalCardProfileCreateParams::FrontText } - # @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {}) + # @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, card_stock_reference: nil, carrier_stock_reference: nil, front_text: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::PhysicalCardProfileCreateParams} for more details. # @@ -58,6 +72,10 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel # # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under. # + # @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl + # + # @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used. + # # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/resources/physical_card_profiles.rb b/lib/increase/resources/physical_card_profiles.rb index f04fab883..50d2031ff 100644 --- a/lib/increase/resources/physical_card_profiles.rb +++ b/lib/increase/resources/physical_card_profiles.rb @@ -8,7 +8,7 @@ class PhysicalCardProfiles # # Create a Physical Card Profile # - # @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {}) + # @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, card_stock_reference: nil, carrier_stock_reference: nil, front_text: nil, request_options: {}) # # @param carrier_image_file_id [String] The identifier of the File containing the physical card's carrier image. # @@ -20,6 +20,10 @@ class PhysicalCardProfiles # # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under. # + # @param card_stock_reference [String] A reference ID provided by the fulfillment provider for the card stock used. Onl + # + # @param carrier_stock_reference [String] A reference ID provided by the fulfillment provider for the carrier stock used. + # # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] diff --git a/rbi/increase/models/physical_card_profile_create_params.rbi b/rbi/increase/models/physical_card_profile_create_params.rbi index 2f9388a6d..8106f9a8a 100644 --- a/rbi/increase/models/physical_card_profile_create_params.rbi +++ b/rbi/increase/models/physical_card_profile_create_params.rbi @@ -34,6 +34,22 @@ module Increase sig { returns(String) } attr_accessor :program_id + # A reference ID provided by the fulfillment provider for the card stock used. + # Only used if you've ordered card stock separately. + sig { returns(T.nilable(String)) } + attr_reader :card_stock_reference + + sig { params(card_stock_reference: String).void } + attr_writer :card_stock_reference + + # A reference ID provided by the fulfillment provider for the carrier stock used. + # Only used if you've ordered carrier stock separately. + sig { returns(T.nilable(String)) } + attr_reader :carrier_stock_reference + + sig { params(carrier_stock_reference: String).void } + attr_writer :carrier_stock_reference + # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. sig do @@ -56,6 +72,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + card_stock_reference: String, + carrier_stock_reference: String, front_text: Increase::PhysicalCardProfileCreateParams::FrontText::OrHash, request_options: Increase::RequestOptions::OrHash @@ -72,6 +90,12 @@ module Increase front_image_file_id:, # The identifier for the Program that this Physical Card Profile falls under. program_id:, + # A reference ID provided by the fulfillment provider for the card stock used. + # Only used if you've ordered card stock separately. + card_stock_reference: nil, + # A reference ID provided by the fulfillment provider for the carrier stock used. + # Only used if you've ordered carrier stock separately. + carrier_stock_reference: nil, # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. front_text: nil, @@ -87,6 +111,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + card_stock_reference: String, + carrier_stock_reference: String, front_text: Increase::PhysicalCardProfileCreateParams::FrontText, request_options: Increase::RequestOptions } diff --git a/rbi/increase/resources/physical_card_profiles.rbi b/rbi/increase/resources/physical_card_profiles.rbi index 8184e3534..6c0d7ce92 100644 --- a/rbi/increase/resources/physical_card_profiles.rbi +++ b/rbi/increase/resources/physical_card_profiles.rbi @@ -11,6 +11,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + card_stock_reference: String, + carrier_stock_reference: String, front_text: Increase::PhysicalCardProfileCreateParams::FrontText::OrHash, request_options: Increase::RequestOptions::OrHash @@ -27,6 +29,12 @@ module Increase front_image_file_id:, # The identifier for the Program that this Physical Card Profile falls under. program_id:, + # A reference ID provided by the fulfillment provider for the card stock used. + # Only used if you've ordered card stock separately. + card_stock_reference: nil, + # A reference ID provided by the fulfillment provider for the carrier stock used. + # Only used if you've ordered carrier stock separately. + carrier_stock_reference: nil, # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. front_text: nil, diff --git a/sig/increase/models/physical_card_profile_create_params.rbs b/sig/increase/models/physical_card_profile_create_params.rbs index ce9736951..c68cbf0f9 100644 --- a/sig/increase/models/physical_card_profile_create_params.rbs +++ b/sig/increase/models/physical_card_profile_create_params.rbs @@ -7,6 +7,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + card_stock_reference: String, + carrier_stock_reference: String, front_text: Increase::PhysicalCardProfileCreateParams::FrontText } & Increase::Internal::Type::request_parameters @@ -25,6 +27,14 @@ module Increase attr_accessor program_id: String + attr_reader card_stock_reference: String? + + def card_stock_reference=: (String) -> String + + attr_reader carrier_stock_reference: String? + + def carrier_stock_reference=: (String) -> String + attr_reader front_text: Increase::PhysicalCardProfileCreateParams::FrontText? def front_text=: ( @@ -37,6 +47,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + ?card_stock_reference: String, + ?carrier_stock_reference: String, ?front_text: Increase::PhysicalCardProfileCreateParams::FrontText, ?request_options: Increase::request_opts ) -> void @@ -47,6 +59,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + card_stock_reference: String, + carrier_stock_reference: String, front_text: Increase::PhysicalCardProfileCreateParams::FrontText, request_options: Increase::RequestOptions } diff --git a/sig/increase/resources/physical_card_profiles.rbs b/sig/increase/resources/physical_card_profiles.rbs index 99fb1a17b..ede66bd64 100644 --- a/sig/increase/resources/physical_card_profiles.rbs +++ b/sig/increase/resources/physical_card_profiles.rbs @@ -7,6 +7,8 @@ module Increase description: String, front_image_file_id: String, program_id: String, + ?card_stock_reference: String, + ?carrier_stock_reference: String, ?front_text: Increase::PhysicalCardProfileCreateParams::FrontText, ?request_options: Increase::request_opts ) -> Increase::PhysicalCardProfile From fd856d575d9ab781f0c982a6a0c84b677373aacd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Sep 2025 18:28:57 +0000 Subject: [PATCH 2/2] release: 1.63.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 ccd8ea8be..7b243c591 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.62.0" + ".": "1.63.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index deec5b885..6a55a00a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.63.0 (2025-09-04) + +Full Changelog: [v1.62.0...v1.63.0](https://github.com/Increase/increase-ruby/compare/v1.62.0...v1.63.0) + +### Features + +* **api:** api update ([76b55a5](https://github.com/Increase/increase-ruby/commit/76b55a5d0254bf59bd03e72bb5db7b828d9dbd4c)) + ## 1.62.0 (2025-08-29) Full Changelog: [v1.61.0...v1.62.0](https://github.com/Increase/increase-ruby/compare/v1.61.0...v1.62.0) diff --git a/Gemfile.lock b/Gemfile.lock index 8db68e60d..75f2d67f5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.62.0) + increase (1.63.0) connection_pool GEM diff --git a/README.md b/README.md index 5912eeb33..98a60c8b2 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.62.0" +gem "increase", "~> 1.63.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 7eaf9b80b..57132c625 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.62.0" + VERSION = "1.63.0" end