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 @@
{
".": "0.16.0"
".": "0.17.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: 13
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-e685328e362a28f152bcadfd1ca49680a80bfb7a3834fd422f2e459507305405.yml
openapi_spec_hash: 475543f86e39715f76588de6ccf70beb
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-143086f8200f34e6ace805070e2a3ddccf15e30ed7ac3a7193f6a984f2413fa2.yml
openapi_spec_hash: f15bf2b836aee764c02a4fc185f13586
config_hash: 6aaf0fe6f8877c9c5d9af95597123cb4
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.17.0 (2025-12-11)

Full Changelog: [v0.16.0...v0.17.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.16.0...v0.17.0)

### Features

* **api:** api update ([b4c9da1](https://github.com/brand-dot-dev/ruby-sdk/commit/b4c9da15f5563e5e945d4bbc557fa2f5085c9aef))

## 0.16.0 (2025-12-01)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.15.0...v0.16.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:
brand.dev (0.16.0)
brand.dev (0.17.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 @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "brand.dev", "~> 0.16.0"
gem "brand.dev", "~> 0.17.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/brand_dev/models/brand_identify_from_transaction_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ class BrandIdentifyFromTransactionParams < BrandDev::Internal::Type::BaseModel
# @return [String, nil]
optional :mcc, String

# @!attribute phone
# Optional phone number from the transaction to help verify brand match.
#
# @return [Float, nil]
optional :phone, Float

# @!attribute timeout_ms
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
Expand All @@ -55,7 +61,7 @@ class BrandIdentifyFromTransactionParams < BrandDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, timeout_ms: nil, request_options: {})
# @!method initialize(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, phone: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {BrandDev::Models::BrandIdentifyFromTransactionParams} for more details.
#
Expand All @@ -71,6 +77,8 @@ class BrandIdentifyFromTransactionParams < BrandDev::Internal::Type::BaseModel
#
# @param mcc [String] Optional Merchant Category Code (MCC) to help identify the business category/ind
#
# @param phone [Float] Optional phone number from the transaction to help verify brand match.
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
#
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
Expand Down
4 changes: 3 additions & 1 deletion lib/brand_dev/resources/brand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def fonts(params)
# Endpoint specially designed for platforms that want to identify transaction data
# by the transaction title.
#
# @overload identify_from_transaction(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, timeout_ms: nil, request_options: {})
# @overload identify_from_transaction(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, phone: nil, timeout_ms: nil, request_options: {})
#
# @param transaction_info [String] Transaction information to identify the brand
#
Expand All @@ -116,6 +116,8 @@ def fonts(params)
#
# @param mcc [String] Optional Merchant Category Code (MCC) to help identify the business category/ind
#
# @param phone [Float] Optional phone number from the transaction to help verify brand match.
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
#
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
Expand Down
2 changes: 1 addition & 1 deletion lib/brand_dev/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module BrandDev
VERSION = "0.16.0"
VERSION = "0.17.0"
end
11 changes: 11 additions & 0 deletions rbi/brand_dev/models/brand_identify_from_transaction_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ module BrandDev
sig { params(mcc: String).void }
attr_writer :mcc

# Optional phone number from the transaction to help verify brand match.
sig { returns(T.nilable(Float)) }
attr_reader :phone

sig { params(phone: Float).void }
attr_writer :phone

# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
# value is 300000ms (5 minutes).
Expand All @@ -98,6 +105,7 @@ module BrandDev
BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
max_speed: T::Boolean,
mcc: String,
phone: Float,
timeout_ms: Integer,
request_options: BrandDev::RequestOptions::OrHash
).returns(T.attached_class)
Expand All @@ -119,6 +127,8 @@ module BrandDev
# Optional Merchant Category Code (MCC) to help identify the business
# category/industry.
mcc: nil,
# Optional phone number from the transaction to help verify brand match.
phone: nil,
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
# value is 300000ms (5 minutes).
Expand All @@ -138,6 +148,7 @@ module BrandDev
BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
max_speed: T::Boolean,
mcc: String,
phone: Float,
timeout_ms: Integer,
request_options: BrandDev::RequestOptions
}
Expand Down
3 changes: 3 additions & 0 deletions rbi/brand_dev/resources/brand.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ module BrandDev
BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
max_speed: T::Boolean,
mcc: String,
phone: Float,
timeout_ms: Integer,
request_options: BrandDev::RequestOptions::OrHash
).returns(BrandDev::Models::BrandIdentifyFromTransactionResponse)
Expand All @@ -116,6 +117,8 @@ module BrandDev
# Optional Merchant Category Code (MCC) to help identify the business
# category/industry.
mcc: nil,
# Optional phone number from the transaction to help verify brand match.
phone: nil,
# Optional timeout in milliseconds for the request. If the request takes longer
# than this value, it will be aborted with a 408 status code. Maximum allowed
# value is 300000ms (5 minutes).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module BrandDev
force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
max_speed: bool,
mcc: String,
phone: Float,
timeout_ms: Integer
}
& BrandDev::Internal::Type::request_parameters
Expand Down Expand Up @@ -42,6 +43,10 @@ module BrandDev

def mcc=: (String) -> String

attr_reader phone: Float?

def phone=: (Float) -> Float

attr_reader timeout_ms: Integer?

def timeout_ms=: (Integer) -> Integer
Expand All @@ -53,6 +58,7 @@ module BrandDev
?force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
?max_speed: bool,
?mcc: String,
?phone: Float,
?timeout_ms: Integer,
?request_options: BrandDev::request_opts
) -> void
Expand All @@ -64,6 +70,7 @@ module BrandDev
force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
max_speed: bool,
mcc: String,
phone: Float,
timeout_ms: Integer,
request_options: BrandDev::RequestOptions
}
Expand Down
1 change: 1 addition & 0 deletions sig/brand_dev/resources/brand.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module BrandDev
?force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
?max_speed: bool,
?mcc: String,
?phone: Float,
?timeout_ms: Integer,
?request_options: BrandDev::request_opts
) -> BrandDev::Models::BrandIdentifyFromTransactionResponse
Expand Down
Loading