Skip to content

Commit 486888d

Browse files
feat(api): api update
1 parent 378085f commit 486888d

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
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: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-df7eac3ee0eb7ee11c9586521c56b1ed4069a7a67b5744cfc7ea87785713badf.yml
3-
openapi_spec_hash: 196cfa21c4c95a04d96ca6ed449b5ca9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-ed398f5eafd7dffae0725ec2f42f2a2b0db528292cee661e9f1cdb1063e6eb7b.yml
3+
openapi_spec_hash: c09b2e00932fc1762acabbe9e5c41390
44
config_hash: 8477e3ee6fd596ab6ac911d052e4de79

src/supermemory/types/memory_get_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ class MemoryGetResponse(BaseModel):
1515
id: str
1616
"""Unique identifier of the memory."""
1717

18-
connection_id: Optional[str] = FieldInfo(alias="connectionId", default=None)
19-
"""Optional ID of connection the memory was created from.
20-
21-
This is useful for identifying the source of the memory.
22-
"""
23-
2418
content: Optional[str] = None
2519
"""The content to extract and process into a memory.
2620

src/supermemory/types/memory_list_response.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ class Memory(BaseModel):
1515
id: str
1616
"""Unique identifier of the memory."""
1717

18-
connection_id: Optional[str] = FieldInfo(alias="connectionId", default=None)
19-
"""Optional ID of connection the memory was created from.
20-
21-
This is useful for identifying the source of the memory.
22-
"""
23-
2418
created_at: datetime = FieldInfo(alias="createdAt")
2519
"""Creation timestamp"""
2620

@@ -48,11 +42,6 @@ class Memory(BaseModel):
4842
title: Optional[str] = None
4943
"""Title of the memory"""
5044

51-
type: Literal[
52-
"text", "pdf", "tweet", "google_doc", "google_slide", "google_sheet", "image", "video", "notion_doc", "webpage"
53-
]
54-
"""Type of the memory"""
55-
5645
updated_at: datetime = FieldInfo(alias="updatedAt")
5746
"""Last update timestamp"""
5847

0 commit comments

Comments
 (0)