Skip to content

Commit 778bb2e

Browse files
feat(api): manual updates
1 parent 489e0d9 commit 778bb2e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-deb5905eb84985f1017bc9a16c10bbca104ea0b85b46e05b68693a4f8de1aff8.yml
3-
openapi_spec_hash: 9224a8248d0a30a2d79baac3833d67d2
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-aba0c21c569842e93e17b69cae9cee58d389fce9c2482f4d251fd8727db05679.yml
3+
openapi_spec_hash: 3d01b1c1425f7d43a8acf8b99bb9b321
44
config_hash: 5eb378664dbbf04226c3eeb86103761d

src/resources/search.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export namespace SearchCreateResponse {
3636
export interface SearchCreateParams {
3737
query: string | Array<string>;
3838

39+
country?: string | null;
40+
3941
max_results?: number;
4042

4143
max_tokens?: number;

tests/api-resources/search.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe('resource search', () => {
2424
test.skip('create: required and optional params', async () => {
2525
const response = await client.search.create({
2626
query: 'string',
27+
country: 'country',
2728
max_results: 0,
2829
max_tokens: 0,
2930
max_tokens_per_page: 0,

0 commit comments

Comments
 (0)