diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8d7e5f1..5fdd883 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.0.1" + ".": "1.1.0" } diff --git a/.stats.yml b/.stats.yml index 7da49b5..4b2af5b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 30 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-ffc54f0dafed1e8e209559eee680a2c1968a9a17e7e74a49d2f45b6470449be2.yml -openapi_spec_hash: d953a6e7b41db65161edc059ca84257b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-3001a018c926803bb713f19d99c3d5d39ed44ce3fe670bebefc326fd252b8821.yml +openapi_spec_hash: 0883a98aa5b566818f5910d01c831c4a config_hash: 8572a2d7a5ede9ade3be8ad4d8aafd7d diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8309c..d509d98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.1.0 (2026-06-08) + +Full Changelog: [v1.0.1...v1.1.0](https://github.com/parallel-web/parallel-sdk-typescript/compare/v1.0.1...v1.1.0) + +### Features + +* **api:** add turbo mode to search ([7973be4](https://github.com/parallel-web/parallel-sdk-typescript/commit/7973be4e885648aa9bb3a736ddbac8c89e6d66f4)) + ## 1.0.1 (2026-06-03) Full Changelog: [v1.0.0...v1.0.1](https://github.com/parallel-web/parallel-sdk-typescript/compare/v1.0.0...v1.0.1) diff --git a/package.json b/package.json index b198b33..1a1e419 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parallel-web", - "version": "1.0.1", + "version": "1.1.0", "description": "The official TypeScript library for the Parallel API", "author": "Parallel ", "types": "dist/index.d.ts", diff --git a/src/resources/beta/findall.ts b/src/resources/beta/findall.ts index ea10646..3a6fd93 100644 --- a/src/resources/beta/findall.ts +++ b/src/resources/beta/findall.ts @@ -231,8 +231,6 @@ export class FindAll extends APIResource { /** * Transforms a natural language search objective into a structured FindAll spec. * - * Note: Access to this endpoint requires the parallel-beta header. - * * The generated specification serves as a suggested starting point and can be * further customized by the user. * diff --git a/src/resources/monitor.ts b/src/resources/monitor.ts index 3aa55d7..03b8ebb 100644 --- a/src/resources/monitor.ts +++ b/src/resources/monitor.ts @@ -563,6 +563,14 @@ export interface UpdateMonitorEventStreamSettings { * Advanced monitor configuration. */ advanced_settings?: AdvancedMonitorSettings | null; + + /** + * Updated search query for the monitor. Use this for minor updates to prompts and + * instructions only. Major changes to the query may lead to unexpected results in + * change detection, as the monitor compares new results with what was previously + * seen. + */ + query?: string | null; } /** @@ -571,8 +579,10 @@ export interface UpdateMonitorEventStreamSettings { * Only fields that are explicitly included in the request body are updated. Pass * `null` for `webhook` or `metadata` to clear those fields. To update * type-specific settings on an `event_stream` monitor, include `type` and - * `settings`; pass `null` for `settings.advanced_settings` to clear it. At least - * one non-`type` field must be provided. + * `settings`; pass `settings.query` to update the prompt, or `null` for + * `settings.advanced_settings` to clear it. If `settings` is provided, `type` is + * required to identify the settings shape. The request must still include at least + * one field to update; empty updates fail validation. */ export interface UpdateMonitorRequest { /** diff --git a/src/resources/top-level.ts b/src/resources/top-level.ts index 8db99e9..326ba5c 100644 --- a/src/resources/top-level.ts +++ b/src/resources/top-level.ts @@ -342,12 +342,13 @@ export interface SearchParams { max_chars_total?: number | null; /** - * Search mode preset: supported values are `basic` and `advanced`. Basic mode - * offers the lowest latency and works best with 2-3 high-quality search_queries. - * Advanced mode provides higher quality with more advanced retrieval and - * compression. Defaults to `advanced` when omitted. + * Search mode preset: supported values are `turbo`, `basic`, and `advanced`. Turbo + * mode is optimized for the fastest responses. Basic mode offers low latency and + * works best with 2-3 high-quality search_queries. Advanced mode provides higher + * quality with more advanced retrieval and compression. Defaults to `advanced` + * when omitted. */ - mode?: 'basic' | 'advanced' | null; + mode?: 'turbo' | 'basic' | 'advanced' | null; /** * Natural-language description of the underlying question or goal driving the diff --git a/src/version.ts b/src/version.ts index 8cd23e5..c80f975 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.0.1'; // x-release-please-version +export const VERSION = '1.1.0'; // x-release-please-version diff --git a/tests/api-resources/top-level.test.ts b/tests/api-resources/top-level.test.ts index cbca4aa..75da033 100644 --- a/tests/api-resources/top-level.test.ts +++ b/tests/api-resources/top-level.test.ts @@ -70,7 +70,7 @@ describe('top level methods', () => { }, client_model: 'claude-opus-4-7', max_chars_total: 0, - mode: 'basic', + mode: 'turbo', objective: 'objective', session_id: 'session_id', });