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.88.0"
".": "1.89.0"
}
6 changes: 3 additions & 3 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-4c440e14682c4e4c886da6d05b2f5ff539a3aadc6906bb4069a5df45e0d3cae9.yml
openapi_spec_hash: e400be1da67cec4ce706eda1868dd86b
config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e0a19c46b65842ff370613aac24ba8777d7b961bd46a20e936e878386e048852.yml
openapi_spec_hash: 0f635610cedd9a0aacc6d5b347c3cccf
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.89.0 (2025-09-24)

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

### Features

* **api:** api update ([603e760](https://github.com/Increase/increase-ruby/commit/603e760be76b7ef00f4f13c32e4f79b33a1753e2))

## 1.88.0 (2025-09-24)

Full Changelog: [v1.87.0...v1.88.0](https://github.com/Increase/increase-ruby/compare/v1.87.0...v1.88.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.88.0)
increase (1.89.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.88.0"
gem "increase", "~> 1.89.0"
```

<!-- x-release-please-end -->
Expand Down
7 changes: 3 additions & 4 deletions lib/increase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,10 @@
require_relative "increase/models/bookkeeping_entry_set_list_params"
require_relative "increase/models/bookkeeping_entry_set_retrieve_params"
require_relative "increase/models/card"
require_relative "increase/models/card_create_details_iframe_params"
require_relative "increase/models/card_create_params"
require_relative "increase/models/card_detail_create_details_iframe_params"
require_relative "increase/models/card_detail_details_params"
require_relative "increase/models/card_details"
require_relative "increase/models/card_detail_update_params"
require_relative "increase/models/card_details_params"
require_relative "increase/models/card_iframe_url"
require_relative "increase/models/card_list_params"
require_relative "increase/models/card_payment"
Expand All @@ -123,6 +122,7 @@
require_relative "increase/models/card_token_list_params"
require_relative "increase/models/card_token_retrieve_params"
require_relative "increase/models/card_update_params"
require_relative "increase/models/card_update_pin_params"
require_relative "increase/models/card_validation"
require_relative "increase/models/card_validation_create_params"
require_relative "increase/models/card_validation_list_params"
Expand Down Expand Up @@ -335,7 +335,6 @@
require_relative "increase/resources/bookkeeping_accounts"
require_relative "increase/resources/bookkeeping_entries"
require_relative "increase/resources/bookkeeping_entry_sets"
require_relative "increase/resources/card_details"
require_relative "increase/resources/card_payments"
require_relative "increase/resources/card_purchase_supplements"
require_relative "increase/resources/card_push_transfers"
Expand Down
4 changes: 0 additions & 4 deletions lib/increase/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ class Client < Increase::Internal::Transport::BaseClient
# @return [Increase::Resources::Cards]
attr_reader :cards

# @return [Increase::Resources::CardDetails]
attr_reader :card_details

# @return [Increase::Resources::CardPayments]
attr_reader :card_payments

Expand Down Expand Up @@ -254,7 +251,6 @@ def initialize(
@account_numbers = Increase::Resources::AccountNumbers.new(client: self)
@account_transfers = Increase::Resources::AccountTransfers.new(client: self)
@cards = Increase::Resources::Cards.new(client: self)
@card_details = Increase::Resources::CardDetails.new(client: self)
@card_payments = Increase::Resources::CardPayments.new(client: self)
@card_purchase_supplements = Increase::Resources::CardPurchaseSupplements.new(client: self)
@physical_cards = Increase::Resources::PhysicalCards.new(client: self)
Expand Down
12 changes: 6 additions & 6 deletions lib/increase/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,13 @@ module Increase

Card = Increase::Models::Card

CardCreateParams = Increase::Models::CardCreateParams

CardDetailCreateDetailsIframeParams = Increase::Models::CardDetailCreateDetailsIframeParams
CardCreateDetailsIframeParams = Increase::Models::CardCreateDetailsIframeParams

CardDetailDetailsParams = Increase::Models::CardDetailDetailsParams
CardCreateParams = Increase::Models::CardCreateParams

CardDetailsAPI = Increase::Models::CardDetailsAPI
CardDetails = Increase::Models::CardDetails

CardDetailUpdateParams = Increase::Models::CardDetailUpdateParams
CardDetailsParams = Increase::Models::CardDetailsParams

CardIframeURL = Increase::Models::CardIframeURL

Expand Down Expand Up @@ -183,6 +181,8 @@ module Increase

CardUpdateParams = Increase::Models::CardUpdateParams

CardUpdatePinParams = Increase::Models::CardUpdatePinParams

CardValidation = Increase::Models::CardValidation

CardValidationCreateParams = Increase::Models::CardValidationCreateParams
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@

module Increase
module Models
# @see Increase::Resources::CardDetails#create_details_iframe
class CardDetailCreateDetailsIframeParams < Increase::Internal::Type::BaseModel
# @see Increase::Resources::Cards#create_details_iframe
class CardCreateDetailsIframeParams < Increase::Internal::Type::BaseModel
extend Increase::Internal::Type::RequestParameters::Converter
include Increase::Internal::Type::RequestParameters

# @!attribute physical_card_id
# The identifier of the Physical Card to retrieve details for.
# The identifier of the Physical Card to create an iframe for. This will inform
# the appearance of the card rendered in the iframe.
#
# @return [String, nil]
optional :physical_card_id, String

# @!method initialize(physical_card_id: nil, request_options: {})
# @param physical_card_id [String] The identifier of the Physical Card to retrieve details for.
# Some parameter documentations has been truncated, see
# {Increase::Models::CardCreateDetailsIframeParams} for more details.
#
# @param physical_card_id [String] The identifier of the Physical Card to create an iframe for. This will inform th
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
end
Expand Down
14 changes: 7 additions & 7 deletions lib/increase/models/card_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

module Increase
module Models
# @see Increase::Resources::CardDetails#update
class CardDetailsAPI < Increase::Internal::Type::BaseModel
# @see Increase::Resources::Cards#details
class CardDetails < Increase::Internal::Type::BaseModel
# @!attribute card_id
# The identifier for the Card for which sensitive details have been returned.
#
Expand Down Expand Up @@ -38,8 +38,8 @@ class CardDetailsAPI < Increase::Internal::Type::BaseModel
# A constant representing the object's type. For this resource it will always be
# `card_details`.
#
# @return [Symbol, Increase::Models::CardDetailsAPI::Type]
required :type, enum: -> { Increase::CardDetailsAPI::Type }
# @return [Symbol, Increase::Models::CardDetails::Type]
required :type, enum: -> { Increase::CardDetails::Type }

# @!attribute verification_code
# The three-digit verification code for the card. It's also known as the Card
Expand All @@ -51,7 +51,7 @@ class CardDetailsAPI < Increase::Internal::Type::BaseModel

# @!method initialize(card_id:, expiration_month:, expiration_year:, pin:, primary_account_number:, type:, verification_code:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CardDetailsAPI} for more details.
# {Increase::Models::CardDetails} for more details.
#
# An object containing the sensitive details (card number, CVC, PIN, etc) for a
# Card. These details are not included in the Card object. If you'd prefer to
Expand All @@ -69,14 +69,14 @@ class CardDetailsAPI < Increase::Internal::Type::BaseModel
#
# @param primary_account_number [String] The card number.
#
# @param type [Symbol, Increase::Models::CardDetailsAPI::Type] A constant representing the object's type. For this resource it will always be `
# @param type [Symbol, Increase::Models::CardDetails::Type] A constant representing the object's type. For this resource it will always be `
#
# @param verification_code [String] The three-digit verification code for the card. It's also known as the Card Veri

# A constant representing the object's type. For this resource it will always be
# `card_details`.
#
# @see Increase::Models::CardDetailsAPI#type
# @see Increase::Models::CardDetails#type
module Type
extend Increase::Internal::Type::Enum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

module Increase
module Models
# @see Increase::Resources::CardDetails#details
class CardDetailDetailsParams < Increase::Internal::Type::BaseModel
# @see Increase::Resources::Cards#details
class CardDetailsParams < Increase::Internal::Type::BaseModel
extend Increase::Internal::Type::RequestParameters::Converter
include Increase::Internal::Type::RequestParameters

Expand Down
2 changes: 1 addition & 1 deletion lib/increase/models/card_iframe_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Increase
module Models
# @see Increase::Resources::CardDetails#create_details_iframe
# @see Increase::Resources::Cards#create_details_iframe
class CardIframeURL < Increase::Internal::Type::BaseModel
# @!attribute expires_at
# The time the iframe URL will expire.
Expand Down
10 changes: 1 addition & 9 deletions lib/increase/models/card_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,13 @@ class CardUpdateParams < Increase::Internal::Type::BaseModel
# @return [String, nil]
optional :entity_id, String

# @!attribute pin
# The 4-digit PIN for the card, for use with ATMs.
#
# @return [String, nil]
optional :pin, String

# @!attribute status
# The status to update the Card with.
#
# @return [Symbol, Increase::Models::CardUpdateParams::Status, nil]
optional :status, enum: -> { Increase::CardUpdateParams::Status }

# @!method initialize(billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, pin: nil, status: nil, request_options: {})
# @!method initialize(billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, status: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::CardUpdateParams} for more details.
#
Expand All @@ -58,8 +52,6 @@ class CardUpdateParams < Increase::Internal::Type::BaseModel
#
# @param entity_id [String] The Entity the card belongs to. You only need to supply this in rare situations
#
# @param pin [String] The 4-digit PIN for the card, for use with ATMs.
#
# @param status [Symbol, Increase::Models::CardUpdateParams::Status] The status to update the Card with.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

module Increase
module Models
# @see Increase::Resources::CardDetails#update
class CardDetailUpdateParams < Increase::Internal::Type::BaseModel
# @see Increase::Resources::Cards#update_pin
class CardUpdatePinParams < Increase::Internal::Type::BaseModel
extend Increase::Internal::Type::RequestParameters::Converter
include Increase::Internal::Type::RequestParameters

Expand Down
85 changes: 0 additions & 85 deletions lib/increase/resources/card_details.rb

This file was deleted.

Loading