Skip to content

Commit 4736c1b

Browse files
feat(api): api update
1 parent e956365 commit 4736c1b

5 files changed

Lines changed: 15 additions & 12 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-a02634cf1b1c465ad3c8505ea2402e2a2bef732858a9f4d2337aeea5a99c14bc.yml
3-
openapi_spec_hash: f859a6666196eea26ea9e6078d218129
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-00a4c56b1ae197e7ddbeae4fe05ae0864d282829f1f9ee8601f39ea3859969d3.yml
3+
openapi_spec_hash: 27f6e2fad48855513fa4d8b18b25e249
44
config_hash: cde97ef3188581c5f4924c633ec33ddb

src/supermemory/resources/connections.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def with_streaming_response(self) -> ConnectionsResourceWithStreamingResponse:
6666

6767
def create(
6868
self,
69-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
69+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
7070
*,
7171
container_tag: str | Omit = omit,
7272
container_tags: SequenceNotStr[str] | Omit = omit,
@@ -225,7 +225,7 @@ def delete_by_id(
225225

226226
def delete_by_provider(
227227
self,
228-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
228+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
229229
*,
230230
container_tags: SequenceNotStr[str],
231231
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -298,7 +298,7 @@ def get_by_id(
298298

299299
def get_by_tag(
300300
self,
301-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
301+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
302302
*,
303303
container_tags: SequenceNotStr[str],
304304
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -337,7 +337,7 @@ def get_by_tag(
337337

338338
def import_(
339339
self,
340-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
340+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
341341
*,
342342
container_tags: SequenceNotStr[str] | Omit = omit,
343343
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -375,7 +375,7 @@ def import_(
375375

376376
def list_documents(
377377
self,
378-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
378+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
379379
*,
380380
container_tags: SequenceNotStr[str] | Omit = omit,
381381
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -484,7 +484,7 @@ def with_streaming_response(self) -> AsyncConnectionsResourceWithStreamingRespon
484484

485485
async def create(
486486
self,
487-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
487+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
488488
*,
489489
container_tag: str | Omit = omit,
490490
container_tags: SequenceNotStr[str] | Omit = omit,
@@ -647,7 +647,7 @@ async def delete_by_id(
647647

648648
async def delete_by_provider(
649649
self,
650-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
650+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
651651
*,
652652
container_tags: SequenceNotStr[str],
653653
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -720,7 +720,7 @@ async def get_by_id(
720720

721721
async def get_by_tag(
722722
self,
723-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
723+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
724724
*,
725725
container_tags: SequenceNotStr[str],
726726
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -759,7 +759,7 @@ async def get_by_tag(
759759

760760
async def import_(
761761
self,
762-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
762+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
763763
*,
764764
container_tags: SequenceNotStr[str] | Omit = omit,
765765
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -799,7 +799,7 @@ async def import_(
799799

800800
async def list_documents(
801801
self,
802-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
802+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
803803
*,
804804
container_tags: SequenceNotStr[str] | Omit = omit,
805805
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

src/supermemory/types/document_get_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class DocumentGetResponse(BaseModel):
9494
"webpage",
9595
"onedrive",
9696
"github_markdown",
97+
"granola",
9798
]
9899
"""Type of the document"""
99100

src/supermemory/types/document_list_processing_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Document(BaseModel):
5353
"webpage",
5454
"onedrive",
5555
"github_markdown",
56+
"granola",
5657
]
5758
"""Type of the document"""
5859

src/supermemory/types/document_list_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class Memory(BaseModel):
6464
"webpage",
6565
"onedrive",
6666
"github_markdown",
67+
"granola",
6768
]
6869
"""Type of the document"""
6970

0 commit comments

Comments
 (0)