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 @@
{
".": "2.5.0"
".": "2.6.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 32
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-242450ea46eb8c3e843fd6c4bf87e73192b5f62f6da697cd091d13c6aa7a991b.yml
openapi_spec_hash: c1c561976de1abcacede71fd5ab9b3d9
config_hash: 70e7e80b5e87f94981bee396c6cd41e8
configured_endpoints: 37
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-960cb623c7ec84bf4dc0f5945cbc19eec9cca48271071f400d96066eaa55dbd6.yml
openapi_spec_hash: 84fd39e3f4dc964bf0c32d4e95da1b34
config_hash: 2bea1743c84d63bd61f8501a6ea63065
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 2.6.0 (2026-07-31)

Full Changelog: [v2.5.0...v2.6.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.5.0...v2.6.0)

### Features

* **api:** api update ([cedd9b1](https://github.com/context-dot-dev/context-ruby-sdk/commit/cedd9b1191e1297236c2aa6dede3fa640380b651))
* **api:** api update ([98fedb9](https://github.com/context-dot-dev/context-ruby-sdk/commit/98fedb99aae187cff9284efd0a6c574b1b71d749))
* **api:** api update ([7a5cc9a](https://github.com/context-dot-dev/context-ruby-sdk/commit/7a5cc9aa3bd2c746d0e47a58fbc426453db3b8c7))
* **api:** api update ([6cfd0e8](https://github.com/context-dot-dev/context-ruby-sdk/commit/6cfd0e80f3860cfbddd595ac4c72461075775415))
* **api:** api update ([99bdfb2](https://github.com/context-dot-dev/context-ruby-sdk/commit/99bdfb24af9adfac64ee68ca714fb1176c1d61c0))
* **api:** manual updates ([d7a4669](https://github.com/context-dot-dev/context-ruby-sdk/commit/d7a46695c2ba5ec1f54eaedec751bfd1d1559c4b))

## 2.5.0 (2026-07-22)

Full Changelog: [v2.4.0...v2.5.0](https://github.com/context-dot-dev/context-ruby-sdk/compare/v2.4.0...v2.5.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 (2.5.0)
context.dev (2.6.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", "~> 2.5.0"
gem "context.dev", "~> 2.6.0"
```

<!-- x-release-please-end -->
Expand Down
13 changes: 13 additions & 0 deletions lib/context_dev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,22 @@
require_relative "context_dev/models/ai_extract_product_response"
require_relative "context_dev/models/ai_extract_products_params"
require_relative "context_dev/models/ai_extract_products_response"
require_relative "context_dev/models/batch_cancel_params"
require_relative "context_dev/models/batch_cancel_response"
require_relative "context_dev/models/batch_get_results_params"
require_relative "context_dev/models/batch_get_results_response"
require_relative "context_dev/models/batch_list_params"
require_relative "context_dev/models/batch_list_response"
require_relative "context_dev/models/batch_retrieve_params"
require_relative "context_dev/models/batch_retrieve_response"
require_relative "context_dev/models/batch_submit_params"
require_relative "context_dev/models/batch_submit_response"
require_relative "context_dev/models/brand_retrieve_params"
require_relative "context_dev/models/brand_retrieve_response"
require_relative "context_dev/models/brand_retrieve_simplified_params"
require_relative "context_dev/models/brand_retrieve_simplified_response"
require_relative "context_dev/models/error"
require_relative "context_dev/models/error_count"
require_relative "context_dev/models/industry_retrieve_naics_params"
require_relative "context_dev/models/industry_retrieve_naics_response"
require_relative "context_dev/models/industry_retrieve_sic_params"
Expand Down Expand Up @@ -119,6 +131,7 @@
require_relative "context_dev/models/web_web_scrape_sitemap_response"
require_relative "context_dev/models"
require_relative "context_dev/resources/ai"
require_relative "context_dev/resources/batch"
require_relative "context_dev/resources/brand"
require_relative "context_dev/resources/industry"
require_relative "context_dev/resources/monitors"
Expand Down
4 changes: 4 additions & 0 deletions lib/context_dev/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class Client < ContextDev::Internal::Transport::BaseClient
# @return [ContextDev::Resources::Monitors]
attr_reader :monitors

# @return [ContextDev::Resources::Batch]
attr_reader :batch

# @api private
#
# @return [Hash{String=>String}]
Expand Down Expand Up @@ -111,6 +114,7 @@ def initialize(
@industry = ContextDev::Resources::Industry.new(client: self)
@utility = ContextDev::Resources::Utility.new(client: self)
@monitors = ContextDev::Resources::Monitors.new(client: self)
@batch = ContextDev::Resources::Batch.new(client: self)
end
end
end
14 changes: 14 additions & 0 deletions lib/context_dev/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,24 @@ module ContextDev

AIExtractProductsParams = ContextDev::Models::AIExtractProductsParams

BatchCancelParams = ContextDev::Models::BatchCancelParams

BatchGetResultsParams = ContextDev::Models::BatchGetResultsParams

BatchListParams = ContextDev::Models::BatchListParams

BatchRetrieveParams = ContextDev::Models::BatchRetrieveParams

BatchSubmitParams = ContextDev::Models::BatchSubmitParams

BrandRetrieveParams = ContextDev::Models::BrandRetrieveParams

BrandRetrieveSimplifiedParams = ContextDev::Models::BrandRetrieveSimplifiedParams

Error = ContextDev::Models::Error

ErrorCount = ContextDev::Models::ErrorCount

IndustryRetrieveNaicsParams = ContextDev::Models::IndustryRetrieveNaicsParams

IndustryRetrieveSicParams = ContextDev::Models::IndustryRetrieveSicParams
Expand Down
22 changes: 22 additions & 0 deletions lib/context_dev/models/batch_cancel_params.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# frozen_string_literal: true

module ContextDev
module Models
# @see ContextDev::Resources::Batch#cancel
class BatchCancelParams < ContextDev::Internal::Type::BaseModel
extend ContextDev::Internal::Type::RequestParameters::Converter
include ContextDev::Internal::Type::RequestParameters

# @!attribute batch_id
# ID of the batch to retrieve or cancel.
#
# @return [String]
required :batch_id, String

# @!method initialize(batch_id:, request_options: {})
# @param batch_id [String] ID of the batch to retrieve or cancel.
#
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
end
end
end
Loading