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.14.0"
".": "1.15.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: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-bfa54d26b675d92a0b3db3e3c2147dc98250fb1e4cb82bb6bd6f9af544763506.yml
openapi_spec_hash: 7d834a5553262d0a2538bc066f39d549
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-44904c513baa439f294b23964ea368ad52863e13328980f9cac5a8e78cbb58cb.yml
openapi_spec_hash: 9bb50ca838166fb474d28009a7edbd49
config_hash: 70354330f92ce169beabc98696ebb9a3
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.15.0 (2026-05-06)

Full Changelog: [v1.14.0...v1.15.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.14.0...v1.15.0)

### Features

* **api:** api update ([42c8282](https://github.com/context-dot-dev/context-ruby-sdk/commit/42c8282f18c421ca317b51c640ea42cc04c61230))

## 1.14.0 (2026-05-06)

Full Changelog: [v1.13.0...v1.14.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v1.13.0...v1.14.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:
context.dev (1.14.0)
context.dev (1.15.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "context.dev", "~> 1.14.0"
gem "context.dev", "~> 1.15.0"
```

<!-- x-release-please-end -->
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_by_email_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ class BrandRetrieveByEmailParams < ContextDev::Internal::Type::BaseModel
# @return [Symbol, ContextDev::Models::BrandRetrieveByEmailParams::ForceLanguage, nil]
optional :force_language, enum: -> { ContextDev::BrandRetrieveByEmailParams::ForceLanguage }

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!attribute max_speed
# Optional parameter to optimize the API call for maximum speed. When set to true,
# the API will skip time-consuming operations for faster response at the cost of
Expand All @@ -37,14 +46,16 @@ class BrandRetrieveByEmailParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(email:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @!method initialize(email:, force_language: nil, max_age_ms: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveByEmailParams} for more details.
#
# @param email [String] Email address to retrieve brand data for (e.g., 'contact@example.com'). The doma
#
# @param force_language [Symbol, ContextDev::Models::BrandRetrieveByEmailParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_by_isin_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ class BrandRetrieveByIsinParams < ContextDev::Internal::Type::BaseModel
# @return [Symbol, ContextDev::Models::BrandRetrieveByIsinParams::ForceLanguage, nil]
optional :force_language, enum: -> { ContextDev::BrandRetrieveByIsinParams::ForceLanguage }

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!attribute max_speed
# Optional parameter to optimize the API call for maximum speed. When set to true,
# the API will skip time-consuming operations for faster response at the cost of
Expand All @@ -37,14 +46,16 @@ class BrandRetrieveByIsinParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(isin:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @!method initialize(isin:, force_language: nil, max_age_ms: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveByIsinParams} for more details.
#
# @param isin [String] ISIN (International Securities Identification Number) to retrieve brand data for
#
# @param force_language [Symbol, ContextDev::Models::BrandRetrieveByIsinParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_by_name_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ class BrandRetrieveByNameParams < ContextDev::Internal::Type::BaseModel
# @return [Symbol, ContextDev::Models::BrandRetrieveByNameParams::ForceLanguage, nil]
optional :force_language, enum: -> { ContextDev::BrandRetrieveByNameParams::ForceLanguage }

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!attribute max_speed
# Optional parameter to optimize the API call for maximum speed. When set to true,
# the API will skip time-consuming operations for faster response at the cost of
Expand All @@ -43,7 +52,7 @@ class BrandRetrieveByNameParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @!method initialize(name:, country_gl: nil, force_language: nil, max_age_ms: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveByNameParams} for more details.
#
Expand All @@ -53,6 +62,8 @@ class BrandRetrieveByNameParams < ContextDev::Internal::Type::BaseModel
#
# @param force_language [Symbol, ContextDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_by_ticker_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ class BrandRetrieveByTickerParams < ContextDev::Internal::Type::BaseModel
# @return [Symbol, ContextDev::Models::BrandRetrieveByTickerParams::ForceLanguage, nil]
optional :force_language, enum: -> { ContextDev::BrandRetrieveByTickerParams::ForceLanguage }

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!attribute max_speed
# Optional parameter to optimize the API call for maximum speed. When set to true,
# the API will skip time-consuming operations for faster response at the cost of
Expand All @@ -42,14 +51,16 @@ class BrandRetrieveByTickerParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(ticker:, force_language: nil, max_speed: nil, ticker_exchange: nil, timeout_ms: nil, request_options: {})
# @!method initialize(ticker:, force_language: nil, max_age_ms: nil, max_speed: nil, ticker_exchange: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveByTickerParams} for more details.
#
# @param ticker [String] Stock ticker symbol to retrieve brand data for (e.g., 'AAPL', 'GOOGL', 'BRK.A').
#
# @param force_language [Symbol, ContextDev::Models::BrandRetrieveByTickerParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
#
# @param ticker_exchange [Symbol, ContextDev::Models::BrandRetrieveByTickerParams::TickerExchange] Optional stock exchange for the ticker. Defaults to NASDAQ if not specified.
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ class BrandRetrieveParams < ContextDev::Internal::Type::BaseModel
# @return [Symbol, ContextDev::Models::BrandRetrieveParams::ForceLanguage, nil]
optional :force_language, enum: -> { ContextDev::BrandRetrieveParams::ForceLanguage }

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!attribute max_speed
# Optional parameter to optimize the API call for maximum speed. When set to true,
# the API will skip time-consuming operations for faster response at the cost of
Expand All @@ -36,14 +45,16 @@ class BrandRetrieveParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(domain:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @!method initialize(domain:, force_language: nil, max_age_ms: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveParams} for more details.
#
# @param domain [String] Domain name to retrieve brand data for (e.g., 'example.com', 'google.com'). Cann
#
# @param force_language [Symbol, ContextDev::Models::BrandRetrieveParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
Expand Down
13 changes: 12 additions & 1 deletion lib/context_dev/models/brand_retrieve_simplified_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ class BrandRetrieveSimplifiedParams < ContextDev::Internal::Type::BaseModel
# @return [String]
required :domain, String

# @!attribute max_age_ms
# Maximum age in milliseconds for cached brand data before the API performs a hard
# refresh. Defaults to 3 months (7776000000 ms). Values below 1 day (86400000 ms)
# are clamped to 1 day; values above 1 year (31536000000 ms) are clamped to 1
# year.
#
# @return [Integer, nil]
optional :max_age_ms, Integer

# @!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 @@ -21,12 +30,14 @@ class BrandRetrieveSimplifiedParams < ContextDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(domain:, timeout_ms: nil, request_options: {})
# @!method initialize(domain:, max_age_ms: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {ContextDev::Models::BrandRetrieveSimplifiedParams} for more details.
#
# @param domain [String] Domain name to retrieve simplified brand data for
#
# @param max_age_ms [Integer] Maximum age in milliseconds for cached brand data before the API performs a hard
#
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
#
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
Expand Down
4 changes: 2 additions & 2 deletions lib/context_dev/models/web_web_scrape_images_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Enrichment < ContextDev::Internal::Type::BaseModel
optional :hosted_url, ContextDev::Internal::Type::Boolean, api_name: :hostedUrl

# @!attribute max_time_per_ms
# Per-image enrichment timeout in milliseconds. Default: 6000. Maximum: 60000.
# Per-image enrichment timeout in milliseconds. Default: 30000. Maximum: 60000.
#
# @return [Integer, nil]
optional :max_time_per_ms, Integer, api_name: :maxTimePerMs
Expand All @@ -76,7 +76,7 @@ class Enrichment < ContextDev::Internal::Type::BaseModel
#
# @param hosted_url [Boolean] Host materializable images on the Brand.dev CDN and return their URL and MIME ty
#
# @param max_time_per_ms [Integer] Per-image enrichment timeout in milliseconds. Default: 6000. Maximum: 60000.
# @param max_time_per_ms [Integer] Per-image enrichment timeout in milliseconds. Default: 30000. Maximum: 60000.
#
# @param resolution [Boolean] Measure image width and height when possible.
end
Expand Down
Loading
Loading