Skip to content

Commit 6180902

Browse files
feat(api): api update
1 parent 7ea97c0 commit 6180902

16 files changed

Lines changed: 30 additions & 2 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-74db7f2f52f21dd91ef3652895501f0a82008f699a5d0b49a58059609624b4dc.yml
3-
openapi_spec_hash: 58616ba29b9ef5d0e0615b766bfd1a93
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-f36a4766adbf62d457ea756c663e49bca3b0aaea3690a4985d546806850c2e88.yml
3+
openapi_spec_hash: 5b623572e06fe5afbd5291a90b89e51d
44
config_hash: 0ed970a9634b33d0af471738b478740d

src/hyperspell/resources/actions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def add_reaction(
6464
"web_crawler",
6565
"trace",
6666
"microsoft_teams",
67+
"gmail_actions",
6768
],
6869
timestamp: str,
6970
connection: Optional[str] | Omit = omit,
@@ -131,6 +132,7 @@ def send_message(
131132
"web_crawler",
132133
"trace",
133134
"microsoft_teams",
135+
"gmail_actions",
134136
],
135137
text: str,
136138
channel: Optional[str] | Omit = omit,
@@ -223,6 +225,7 @@ async def add_reaction(
223225
"web_crawler",
224226
"trace",
225227
"microsoft_teams",
228+
"gmail_actions",
226229
],
227230
timestamp: str,
228231
connection: Optional[str] | Omit = omit,
@@ -290,6 +293,7 @@ async def send_message(
290293
"web_crawler",
291294
"trace",
292295
"microsoft_teams",
296+
"gmail_actions",
293297
],
294298
text: str,
295299
channel: Optional[str] | Omit = omit,

src/hyperspell/resources/memories.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def update(
7777
"web_crawler",
7878
"trace",
7979
"microsoft_teams",
80+
"gmail_actions",
8081
],
8182
collection: Union[str, object, None] | Omit = omit,
8283
metadata: Union[Dict[str, Union[str, float, bool, None]], object, None] | Omit = omit,
@@ -160,6 +161,7 @@ def list(
160161
"web_crawler",
161162
"trace",
162163
"microsoft_teams",
164+
"gmail_actions",
163165
]
164166
]
165167
| Omit = omit,
@@ -237,6 +239,7 @@ def delete(
237239
"web_crawler",
238240
"trace",
239241
"microsoft_teams",
242+
"gmail_actions",
240243
],
241244
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
242245
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -410,6 +413,7 @@ def get(
410413
"web_crawler",
411414
"trace",
412415
"microsoft_teams",
416+
"gmail_actions",
413417
],
414418
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
415419
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -464,6 +468,7 @@ def search(
464468
"web_crawler",
465469
"trace",
466470
"microsoft_teams",
471+
"gmail_actions",
467472
]
468473
]
469474
| Omit = omit,
@@ -634,6 +639,7 @@ async def update(
634639
"web_crawler",
635640
"trace",
636641
"microsoft_teams",
642+
"gmail_actions",
637643
],
638644
collection: Union[str, object, None] | Omit = omit,
639645
metadata: Union[Dict[str, Union[str, float, bool, None]], object, None] | Omit = omit,
@@ -717,6 +723,7 @@ def list(
717723
"web_crawler",
718724
"trace",
719725
"microsoft_teams",
726+
"gmail_actions",
720727
]
721728
]
722729
| Omit = omit,
@@ -794,6 +801,7 @@ async def delete(
794801
"web_crawler",
795802
"trace",
796803
"microsoft_teams",
804+
"gmail_actions",
797805
],
798806
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
799807
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -967,6 +975,7 @@ async def get(
967975
"web_crawler",
968976
"trace",
969977
"microsoft_teams",
978+
"gmail_actions",
970979
],
971980
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
972981
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1021,6 +1030,7 @@ async def search(
10211030
"web_crawler",
10221031
"trace",
10231032
"microsoft_teams",
1033+
"gmail_actions",
10241034
]
10251035
]
10261036
| Omit = omit,

src/hyperspell/types/action_add_reaction_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class ActionAddReactionParams(TypedDict, total=False):
3030
"web_crawler",
3131
"trace",
3232
"microsoft_teams",
33+
"gmail_actions",
3334
]
3435
]
3536
"""Integration provider (e.g., slack)"""

src/hyperspell/types/action_send_message_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ActionSendMessageParams(TypedDict, total=False):
2424
"web_crawler",
2525
"trace",
2626
"microsoft_teams",
27+
"gmail_actions",
2728
]
2829
]
2930
"""Integration provider (e.g., slack)"""

src/hyperspell/types/auth_me_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class AuthMeResponse(BaseModel):
4747
"web_crawler",
4848
"trace",
4949
"microsoft_teams",
50+
"gmail_actions",
5051
]
5152
]
5253
"""All integrations available for the app"""
@@ -66,6 +67,7 @@ class AuthMeResponse(BaseModel):
6667
"web_crawler",
6768
"trace",
6869
"microsoft_teams",
70+
"gmail_actions",
6971
]
7072
]
7173
"""All integrations installed for the user"""

src/hyperspell/types/connection_list_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class Connection(BaseModel):
3232
"web_crawler",
3333
"trace",
3434
"microsoft_teams",
35+
"gmail_actions",
3536
]
3637
"""The connection's provider"""
3738

src/hyperspell/types/integration_list_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class Integration(BaseModel):
3838
"web_crawler",
3939
"trace",
4040
"microsoft_teams",
41+
"gmail_actions",
4142
]
4243
"""The integration's provider"""
4344

src/hyperspell/types/integrations/web_crawler_index_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class WebCrawlerIndexResponse(BaseModel):
2424
"web_crawler",
2525
"trace",
2626
"microsoft_teams",
27+
"gmail_actions",
2728
]
2829

2930
status: Literal["pending", "processing", "completed", "failed", "pending_review", "skipped"]

src/hyperspell/types/memory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Memory(BaseModel):
3030
"web_crawler",
3131
"trace",
3232
"microsoft_teams",
33+
"gmail_actions",
3334
]
3435

3536
type: str

0 commit comments

Comments
 (0)