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.93.0"
".": "1.94.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: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-911c3719c8d84e1119e71e0cf93ae1f2c52f42529e56671731f07273feb5ac88.yml
openapi_spec_hash: 462c4c10440c2f87e0624d8c25a89b75
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fed69da53ddecc70b62e9a7331c3b561ef0a14c385d4ac5a03d74177c2ea21cd.yml
openapi_spec_hash: 0a90c512d3fd1348b78af6f98435c31a
config_hash: a143293c5450ae8f52acad08f3102575
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.94.0 (2025-09-26)

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

### Features

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

## 1.93.0 (2025-09-26)

Full Changelog: [v1.92.0...v1.93.0](https://github.com/Increase/increase-ruby/compare/v1.92.0...v1.93.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.93.0)
increase (1.94.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.93.0"
gem "increase", "~> 1.94.0"
```

<!-- x-release-please-end -->
Expand Down
64 changes: 1 addition & 63 deletions lib/increase/models/physical_card_profile_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,40 +37,14 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :program_id, String

# @!attribute back_color
# The color of the text on the back of the card. Defaults to "black".
#
# @return [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor, nil]
optional :back_color, enum: -> { Increase::PhysicalCardProfileCreateParams::BackColor }

# @!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_color
# The color of the design on the front of the card. Defaults to "black".
#
# @return [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor, nil]
optional :front_color, enum: -> { Increase::PhysicalCardProfileCreateParams::FrontColor }

# @!attribute front_text
# Text printed on the front of the card. Reach out to
# [support@increase.com](mailto:support@increase.com) for more information.
#
# @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:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
# @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::PhysicalCardProfileCreateParams} for more details.
#
Expand All @@ -84,46 +58,10 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel
#
# @param program_id [String] The identifier for the Program that this Physical Card Profile falls under.
#
# @param back_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor] The color of the text on the back of the card. Defaults to "black".
#
# @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_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor] The color of the design on the front of the card. Defaults to "black".
#
# @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}]

# The color of the text on the back of the card. Defaults to "black".
module BackColor
extend Increase::Internal::Type::Enum

# Black personalization color.
BLACK = :black

# White personalization color.
WHITE = :white

# @!method self.values
# @return [Array<Symbol>]
end

# The color of the design on the front of the card. Defaults to "black".
module FrontColor
extend Increase::Internal::Type::Enum

# Black personalization color.
BLACK = :black

# White personalization color.
WHITE = :white

# @!method self.values
# @return [Array<Symbol>]
end

class FrontText < Increase::Internal::Type::BaseModel
# @!attribute line1
# The first line of text on the front of the card.
Expand Down
10 changes: 1 addition & 9 deletions lib/increase/resources/physical_card_profiles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:, back_color: nil, card_stock_reference: nil, carrier_stock_reference: nil, front_color: nil, front_text: nil, request_options: {})
# @overload create(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {})
#
# @param carrier_image_file_id [String] The identifier of the File containing the physical card's carrier image.
#
Expand All @@ -20,14 +20,6 @@ class PhysicalCardProfiles
#
# @param program_id [String] The identifier for the Program that this Physical Card Profile falls under.
#
# @param back_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::BackColor] The color of the text on the back of the card. Defaults to "black".
#
# @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_color [Symbol, Increase::Models::PhysicalCardProfileCreateParams::FrontColor] The color of the design on the front of the card. Defaults to "black".
#
# @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]
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.93.0"
VERSION = "1.94.0"
end
144 changes: 0 additions & 144 deletions rbi/increase/models/physical_card_profile_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -34,58 +34,6 @@ module Increase
sig { returns(String) }
attr_accessor :program_id

# The color of the text on the back of the card. Defaults to "black".
sig do
returns(
T.nilable(
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol
)
)
end
attr_reader :back_color

sig do
params(
back_color:
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol
).void
end
attr_writer :back_color

# 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

# The color of the design on the front of the card. Defaults to "black".
sig do
returns(
T.nilable(
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol
)
)
end
attr_reader :front_color

sig do
params(
front_color:
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol
).void
end
attr_writer :front_color

# Text printed on the front of the card. Reach out to
# [support@increase.com](mailto:support@increase.com) for more information.
sig do
Expand All @@ -108,12 +56,6 @@ module Increase
description: String,
front_image_file_id: String,
program_id: String,
back_color:
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
card_stock_reference: String,
carrier_stock_reference: String,
front_color:
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
front_text:
Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
request_options: Increase::RequestOptions::OrHash
Expand All @@ -130,16 +72,6 @@ module Increase
front_image_file_id:,
# The identifier for the Program that this Physical Card Profile falls under.
program_id:,
# The color of the text on the back of the card. Defaults to "black".
back_color: nil,
# 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,
# The color of the design on the front of the card. Defaults to "black".
front_color: 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,
Expand All @@ -155,12 +87,6 @@ module Increase
description: String,
front_image_file_id: String,
program_id: String,
back_color:
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
card_stock_reference: String,
carrier_stock_reference: String,
front_color:
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
front_text: Increase::PhysicalCardProfileCreateParams::FrontText,
request_options: Increase::RequestOptions
}
Expand All @@ -169,76 +95,6 @@ module Increase
def to_hash
end

# The color of the text on the back of the card. Defaults to "black".
module BackColor
extend Increase::Internal::Type::Enum

TaggedSymbol =
T.type_alias do
T.all(Symbol, Increase::PhysicalCardProfileCreateParams::BackColor)
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# Black personalization color.
BLACK =
T.let(
:black,
Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
)

# White personalization color.
WHITE =
T.let(
:white,
Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
)

sig do
override.returns(
T::Array[
Increase::PhysicalCardProfileCreateParams::BackColor::TaggedSymbol
]
)
end
def self.values
end
end

# The color of the design on the front of the card. Defaults to "black".
module FrontColor
extend Increase::Internal::Type::Enum

TaggedSymbol =
T.type_alias do
T.all(Symbol, Increase::PhysicalCardProfileCreateParams::FrontColor)
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# Black personalization color.
BLACK =
T.let(
:black,
Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
)

# White personalization color.
WHITE =
T.let(
:white,
Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
)

sig do
override.returns(
T::Array[
Increase::PhysicalCardProfileCreateParams::FrontColor::TaggedSymbol
]
)
end
def self.values
end
end

class FrontText < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down
16 changes: 0 additions & 16 deletions rbi/increase/resources/physical_card_profiles.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ module Increase
description: String,
front_image_file_id: String,
program_id: String,
back_color:
Increase::PhysicalCardProfileCreateParams::BackColor::OrSymbol,
card_stock_reference: String,
carrier_stock_reference: String,
front_color:
Increase::PhysicalCardProfileCreateParams::FrontColor::OrSymbol,
front_text:
Increase::PhysicalCardProfileCreateParams::FrontText::OrHash,
request_options: Increase::RequestOptions::OrHash
Expand All @@ -33,16 +27,6 @@ module Increase
front_image_file_id:,
# The identifier for the Program that this Physical Card Profile falls under.
program_id:,
# The color of the text on the back of the card. Defaults to "black".
back_color: nil,
# 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,
# The color of the design on the front of the card. Defaults to "black".
front_color: 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,
Expand Down
Loading