Skip to content

Commit 5ff6ed1

Browse files
feat(api): manual updates
1 parent d4edc7f commit 5ff6ed1

File tree

5 files changed

+2
-78
lines changed

5 files changed

+2
-78
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 19
1+
configured_endpoints: 18
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-ebd5e757d0e76cb83013e01a1e0bb3dba62beb83b2a2ffa28d148ea032e96fd0.yml
33
openapi_spec_hash: f930474a6ad230545154244045cc602e
4-
config_hash: 73c4fae15631e979e9bf690ec9aea665
4+
config_hash: 5b7cec4b962a2ef1b02ac789757eaf15

api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Types:
44

55
- <code><a href="./src/resources/shared.ts">And</a></code>
66
- <code><a href="./src/resources/shared.ts">Or</a></code>
7-
- <code><a href="./src/resources/shared.ts">ProfileResponse</a></code>
8-
9-
Methods:
10-
11-
- <code title="post /v4/profile">client.shared.<a href="./src/resources/shared.ts">profile</a>({ ...params }) -> ProfileResponse</code>
127

138
# Memories
149

src/client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,5 +848,4 @@ export declare namespace Supermemory {
848848

849849
export type And = API.And;
850850
export type Or = API.Or;
851-
export type ProfileResponse = API.ProfileResponse;
852851
}

src/resources/shared.ts

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,46 +13,3 @@ export interface And {
1313
export interface Or {
1414
OR: Array<unknown>;
1515
}
16-
17-
export interface ProfileResponse {
18-
profile: ProfileResponse.Profile;
19-
20-
/**
21-
* Search results if a search query was provided
22-
*/
23-
searchResults?: ProfileResponse.SearchResults;
24-
}
25-
26-
export namespace ProfileResponse {
27-
export interface Profile {
28-
/**
29-
* Dynamic profile information (recent memories)
30-
*/
31-
dynamic: Array<string>;
32-
33-
/**
34-
* Static profile information that remains relevant long-term
35-
*/
36-
static: Array<string>;
37-
}
38-
39-
/**
40-
* Search results if a search query was provided
41-
*/
42-
export interface SearchResults {
43-
/**
44-
* Search results for the provided query
45-
*/
46-
results: Array<unknown>;
47-
48-
/**
49-
* Search timing in milliseconds
50-
*/
51-
timing: number;
52-
53-
/**
54-
* Total number of search results
55-
*/
56-
total: number;
57-
}
58-
}

tests/api-resources/shared.test.ts

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

0 commit comments

Comments
 (0)