Skip to content

Commit 58c8d7c

Browse files
feat(api): api update
1 parent 42d3c82 commit 58c8d7c

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/hyperspell-67e5580c2192db89f9b4918475feb225f402998b26688dc4686f578558fc67b1.yml
3-
openapi_spec_hash: 3e33a2921eff123bb0914875391d63ab
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-feee340a746833ce5d11da1ac2b1ceb543d72c923a3e520120ca1a85722ad19e.yml
3+
openapi_spec_hash: fc6079b58022a3ab9aa513729dacbf64
44
config_hash: 597eba5e5eaec83a5f0db3d946af8db5

src/hyperspell/resources/actions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def add_reaction(
7171
"hubspot",
7272
"salesforce",
7373
"coda",
74+
"lightfield",
7475
],
7576
timestamp: str,
7677
connection: Optional[str] | Omit = omit,
@@ -145,6 +146,7 @@ def send_message(
145146
"hubspot",
146147
"salesforce",
147148
"coda",
149+
"lightfield",
148150
],
149151
text: str,
150152
channel: Optional[str] | Omit = omit,
@@ -244,6 +246,7 @@ async def add_reaction(
244246
"hubspot",
245247
"salesforce",
246248
"coda",
249+
"lightfield",
247250
],
248251
timestamp: str,
249252
connection: Optional[str] | Omit = omit,
@@ -318,6 +321,7 @@ async def send_message(
318321
"hubspot",
319322
"salesforce",
320323
"coda",
324+
"lightfield",
321325
],
322326
text: str,
323327
channel: Optional[str] | Omit = omit,

src/hyperspell/resources/memories.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def update(
8585
"hubspot",
8686
"salesforce",
8787
"coda",
88+
"lightfield",
8889
],
8990
collection: Union[str, object, None] | Omit = omit,
9091
date: Union[Union[str, datetime], object, None] | Omit = omit,
@@ -179,6 +180,7 @@ def list(
179180
"hubspot",
180181
"salesforce",
181182
"coda",
183+
"lightfield",
182184
]
183185
]
184186
| Omit = omit,
@@ -263,6 +265,7 @@ def delete(
263265
"hubspot",
264266
"salesforce",
265267
"coda",
268+
"lightfield",
266269
],
267270
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
268271
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -443,6 +446,7 @@ def get(
443446
"hubspot",
444447
"salesforce",
445448
"coda",
449+
"lightfield",
446450
],
447451
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
448452
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -505,6 +509,7 @@ def search(
505509
"hubspot",
506510
"salesforce",
507511
"coda",
512+
"lightfield",
508513
]
509514
]
510515
| Omit = omit,
@@ -692,6 +697,7 @@ async def update(
692697
"hubspot",
693698
"salesforce",
694699
"coda",
700+
"lightfield",
695701
],
696702
collection: Union[str, object, None] | Omit = omit,
697703
date: Union[Union[str, datetime], object, None] | Omit = omit,
@@ -786,6 +792,7 @@ def list(
786792
"hubspot",
787793
"salesforce",
788794
"coda",
795+
"lightfield",
789796
]
790797
]
791798
| Omit = omit,
@@ -870,6 +877,7 @@ async def delete(
870877
"hubspot",
871878
"salesforce",
872879
"coda",
880+
"lightfield",
873881
],
874882
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
875883
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1050,6 +1058,7 @@ async def get(
10501058
"hubspot",
10511059
"salesforce",
10521060
"coda",
1061+
"lightfield",
10531062
],
10541063
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10551064
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1112,6 +1121,7 @@ async def search(
11121121
"hubspot",
11131122
"salesforce",
11141123
"coda",
1124+
"lightfield",
11151125
]
11161126
]
11171127
| Omit = omit,

src/hyperspell/types/action_add_reaction_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class ActionAddReactionParams(TypedDict, total=False):
3737
"hubspot",
3838
"salesforce",
3939
"coda",
40+
"lightfield",
4041
]
4142
]
4243
"""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
@@ -31,6 +31,7 @@ class ActionSendMessageParams(TypedDict, total=False):
3131
"hubspot",
3232
"salesforce",
3333
"coda",
34+
"lightfield",
3435
]
3536
]
3637
"""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
@@ -54,6 +54,7 @@ class AuthMeResponse(BaseModel):
5454
"hubspot",
5555
"salesforce",
5656
"coda",
57+
"lightfield",
5758
]
5859
]
5960
"""All integrations available for the app"""
@@ -80,6 +81,7 @@ class AuthMeResponse(BaseModel):
8081
"hubspot",
8182
"salesforce",
8283
"coda",
84+
"lightfield",
8385
]
8486
]
8587
"""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
@@ -39,6 +39,7 @@ class Connection(BaseModel):
3939
"hubspot",
4040
"salesforce",
4141
"coda",
42+
"lightfield",
4243
]
4344
"""The connection's provider"""
4445

src/hyperspell/types/integration_list_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Integration(BaseModel):
4545
"hubspot",
4646
"salesforce",
4747
"coda",
48+
"lightfield",
4849
]
4950
"""The integration's provider"""
5051

src/hyperspell/types/integrations/web_crawler_index_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class WebCrawlerIndexResponse(BaseModel):
3131
"hubspot",
3232
"salesforce",
3333
"coda",
34+
"lightfield",
3435
]
3536

3637
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
@@ -37,6 +37,7 @@ class Memory(BaseModel):
3737
"hubspot",
3838
"salesforce",
3939
"coda",
40+
"lightfield",
4041
]
4142

4243
type: str

0 commit comments

Comments
 (0)