Skip to content

Commit edd9b41

Browse files
feat(api): api update
1 parent 9d829b5 commit edd9b41

16 files changed

Lines changed: 58 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/hyperspell-0ab273c4a6f51fde1028289c51ff0c66db65f786beefb57f5e83716502c738af.yml
3-
openapi_spec_hash: 6eb64e0f9507bff9ab45727b0f872906
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-c422b71013d310d2beb88faaaab8a6e46043a08111fb0a11b7b2077438475bcd.yml
3+
openapi_spec_hash: becb157545f65519541a8a64c89c3cba
44
config_hash: 597eba5e5eaec83a5f0db3d946af8db5

src/hyperspell/resources/actions.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def add_reaction(
6868
"granola",
6969
"fathom",
7070
"linear",
71+
"hubspot",
72+
"salesforce",
7173
],
7274
timestamp: str,
7375
connection: Optional[str] | Omit = omit,
@@ -139,6 +141,8 @@ def send_message(
139141
"granola",
140142
"fathom",
141143
"linear",
144+
"hubspot",
145+
"salesforce",
142146
],
143147
text: str,
144148
channel: Optional[str] | Omit = omit,
@@ -235,6 +239,8 @@ async def add_reaction(
235239
"granola",
236240
"fathom",
237241
"linear",
242+
"hubspot",
243+
"salesforce",
238244
],
239245
timestamp: str,
240246
connection: Optional[str] | Omit = omit,
@@ -306,6 +312,8 @@ async def send_message(
306312
"granola",
307313
"fathom",
308314
"linear",
315+
"hubspot",
316+
"salesforce",
309317
],
310318
text: str,
311319
channel: Optional[str] | Omit = omit,

src/hyperspell/resources/memories.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def update(
8282
"granola",
8383
"fathom",
8484
"linear",
85+
"hubspot",
86+
"salesforce",
8587
],
8688
collection: Union[str, object, None] | Omit = omit,
8789
date: Union[Union[str, datetime], object, None] | Omit = omit,
@@ -173,6 +175,8 @@ def list(
173175
"granola",
174176
"fathom",
175177
"linear",
178+
"hubspot",
179+
"salesforce",
176180
]
177181
]
178182
| Omit = omit,
@@ -254,6 +258,8 @@ def delete(
254258
"granola",
255259
"fathom",
256260
"linear",
261+
"hubspot",
262+
"salesforce",
257263
],
258264
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
259265
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -431,6 +437,8 @@ def get(
431437
"granola",
432438
"fathom",
433439
"linear",
440+
"hubspot",
441+
"salesforce",
434442
],
435443
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
436444
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -490,6 +498,8 @@ def search(
490498
"granola",
491499
"fathom",
492500
"linear",
501+
"hubspot",
502+
"salesforce",
493503
]
494504
]
495505
| Omit = omit,
@@ -674,6 +684,8 @@ async def update(
674684
"granola",
675685
"fathom",
676686
"linear",
687+
"hubspot",
688+
"salesforce",
677689
],
678690
collection: Union[str, object, None] | Omit = omit,
679691
date: Union[Union[str, datetime], object, None] | Omit = omit,
@@ -765,6 +777,8 @@ def list(
765777
"granola",
766778
"fathom",
767779
"linear",
780+
"hubspot",
781+
"salesforce",
768782
]
769783
]
770784
| Omit = omit,
@@ -846,6 +860,8 @@ async def delete(
846860
"granola",
847861
"fathom",
848862
"linear",
863+
"hubspot",
864+
"salesforce",
849865
],
850866
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
851867
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1023,6 +1039,8 @@ async def get(
10231039
"granola",
10241040
"fathom",
10251041
"linear",
1042+
"hubspot",
1043+
"salesforce",
10261044
],
10271045
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10281046
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1082,6 +1100,8 @@ async def search(
10821100
"granola",
10831101
"fathom",
10841102
"linear",
1103+
"hubspot",
1104+
"salesforce",
10851105
]
10861106
]
10871107
| Omit = omit,

src/hyperspell/types/action_add_reaction_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class ActionAddReactionParams(TypedDict, total=False):
3434
"granola",
3535
"fathom",
3636
"linear",
37+
"hubspot",
38+
"salesforce",
3739
]
3840
]
3941
"""Integration provider (e.g., slack)"""

src/hyperspell/types/action_send_message_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class ActionSendMessageParams(TypedDict, total=False):
2828
"granola",
2929
"fathom",
3030
"linear",
31+
"hubspot",
32+
"salesforce",
3133
]
3234
]
3335
"""Integration provider (e.g., slack)"""

src/hyperspell/types/auth_me_response.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ class AuthMeResponse(BaseModel):
5151
"granola",
5252
"fathom",
5353
"linear",
54+
"hubspot",
55+
"salesforce",
5456
]
5557
]
5658
"""All integrations available for the app"""
@@ -74,6 +76,8 @@ class AuthMeResponse(BaseModel):
7476
"granola",
7577
"fathom",
7678
"linear",
79+
"hubspot",
80+
"salesforce",
7781
]
7882
]
7983
"""All integrations installed for the user"""

src/hyperspell/types/connection_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class Connection(BaseModel):
3636
"granola",
3737
"fathom",
3838
"linear",
39+
"hubspot",
40+
"salesforce",
3941
]
4042
"""The connection's provider"""
4143

src/hyperspell/types/integration_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class Integration(BaseModel):
4242
"granola",
4343
"fathom",
4444
"linear",
45+
"hubspot",
46+
"salesforce",
4547
]
4648
"""The integration's provider"""
4749

src/hyperspell/types/integrations/web_crawler_index_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class WebCrawlerIndexResponse(BaseModel):
2828
"granola",
2929
"fathom",
3030
"linear",
31+
"hubspot",
32+
"salesforce",
3133
]
3234

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

src/hyperspell/types/memory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class Memory(BaseModel):
3434
"granola",
3535
"fathom",
3636
"linear",
37+
"hubspot",
38+
"salesforce",
3739
]
3840

3941
type: str

0 commit comments

Comments
 (0)