Skip to content

Commit bb7ef97

Browse files
feat(api): manual updates
1 parent 1539cf8 commit bb7ef97

File tree

10 files changed

+4
-100
lines changed

10 files changed

+4
-100
lines changed

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 6
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-0a0c41e4a1d04f467b380f19330aad7cccfdf3550c269995b6921dfd68615c51.yml
3-
openapi_spec_hash: 030643101899103819c1004f32cafbbc
4-
config_hash: 17c338b2ef0119791bd9f178936b252f
1+
configured_endpoints: 5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-c521eee7c440c9b8a6262ec75d47eb3f52a2735f1c3f733b80bff8ca1f98b153.yml
3+
openapi_spec_hash: 7b5a570eb6f33531a1174509877830d4
4+
config_hash: 5eb378664dbbf04226c3eeb86103761d

api.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,3 @@ Types:
4747
Methods:
4848

4949
- <code title="post /search">client.search.<a href="./src/resources/search.ts">create</a>({ ...params }) -> SearchCreateResponse</code>
50-
51-
# Content
52-
53-
Types:
54-
55-
- <code><a href="./src/resources/content.ts">ContentCreateResponse</a></code>
56-
57-
Methods:
58-
59-
- <code title="post /content">client.content.<a href="./src/resources/content.ts">create</a>({ ...params }) -> ContentCreateResponse</code>

src/client.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import * as Errors from './core/error';
1616
import * as Uploads from './core/uploads';
1717
import * as API from './resources/index';
1818
import { APIPromise } from './core/api-promise';
19-
import { Content, ContentCreateParams, ContentCreateResponse } from './resources/content';
2019
import { Search, SearchCreateParams, SearchCreateResponse } from './resources/search';
2120
import { Async } from './resources/async/async';
2221
import { Chat } from './resources/chat/chat';
@@ -720,13 +719,11 @@ export class Perplexity {
720719
chat: API.Chat = new API.Chat(this);
721720
async: API.Async = new API.Async(this);
722721
search: API.Search = new API.Search(this);
723-
content: API.Content = new API.Content(this);
724722
}
725723

726724
Perplexity.Chat = Chat;
727725
Perplexity.Async = Async;
728726
Perplexity.Search = Search;
729-
Perplexity.Content = Content;
730727

731728
export declare namespace Perplexity {
732729
export type RequestOptions = Opts.RequestOptions;
@@ -741,12 +738,6 @@ export declare namespace Perplexity {
741738
type SearchCreateParams as SearchCreateParams,
742739
};
743740

744-
export {
745-
Content as Content,
746-
type ContentCreateResponse as ContentCreateResponse,
747-
type ContentCreateParams as ContentCreateParams,
748-
};
749-
750741
export type APIPublicSearchResult = API.APIPublicSearchResult;
751742
export type ChatMessageInput = API.ChatMessageInput;
752743
export type ChatMessageOutput = API.ChatMessageOutput;

src/resources/async/chat/completions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ export namespace CompletionCreateParams {
261261

262262
return_related_questions?: boolean | null;
263263

264-
return_videos?: boolean | null;
265-
266264
safe_search?: boolean | null;
267265

268266
search_after_date_filter?: string | null;

src/resources/chat/completions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export interface CompletionCreateParams {
111111

112112
return_related_questions?: boolean | null;
113113

114-
return_videos?: boolean | null;
115-
116114
safe_search?: boolean | null;
117115

118116
search_after_date_filter?: string | null;

src/resources/content.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/resources/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
export * from './shared';
44
export { Async } from './async/async';
55
export { Chat } from './chat/chat';
6-
export { Content, type ContentCreateResponse, type ContentCreateParams } from './content';
76
export { Search, type SearchCreateResponse, type SearchCreateParams } from './search';

tests/api-resources/async/chat/completions.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ describe('resource completions', () => {
104104
response_metadata: { foo: 'bar' },
105105
return_images: true,
106106
return_related_questions: true,
107-
return_videos: true,
108107
safe_search: true,
109108
search_after_date_filter: 'search_after_date_filter',
110109
search_before_date_filter: 'search_before_date_filter',

tests/api-resources/chat/completions.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ describe('resource completions', () => {
104104
response_metadata: { foo: 'bar' },
105105
return_images: true,
106106
return_related_questions: true,
107-
return_videos: true,
108107
safe_search: true,
109108
search_after_date_filter: 'search_after_date_filter',
110109
search_before_date_filter: 'search_before_date_filter',

tests/api-resources/content.test.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)