vocalstack 1.0.0a4__tar.gz → 1.0.0a5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/PKG-INFO +1 -1
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/SKILL.md +1 -1
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/pyproject.toml +1 -1
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/skills/vocalstack/SKILL.md +1 -1
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/__init__.py +1 -1
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/_models.py +17 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/resources.py +3 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/.gitignore +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/LICENSE +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/README.md +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/_http.py +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/client.py +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/errors.py +0 -0
- {vocalstack-1.0.0a4 → vocalstack-1.0.0a5}/src/vocalstack/realtime.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vocalstack
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0a5
|
|
4
4
|
Summary: VocalStack speech API SDK (asyncio): one client grouped by resource, typed models from the API contract, realtime WebSocket streaming.
|
|
5
5
|
Project-URL: Homepage, https://vocalstack.com
|
|
6
6
|
License-Expression: MIT
|
|
@@ -226,7 +226,7 @@ except VocalStackError as e:
|
|
|
226
226
|
## More
|
|
227
227
|
|
|
228
228
|
- The other groups: `vs.transcriptions` (`list`, `get`, `update`, `archive`,
|
|
229
|
-
`restore`, `purge`, `list_share_links`, `create_share_link`), `vs.recordings`
|
|
229
|
+
`restore`, `purge`, `list_share_links`, `create_share_link`, `list_scripts`), `vs.recordings`
|
|
230
230
|
(`get`, `summarize`, `summary`, `translation`, `audio_url`, `subscribe`),
|
|
231
231
|
`vs.corrections`, `vs.share_links`, `vs.speakers`, `vs.voices`, `vs.broadcasts`,
|
|
232
232
|
`vs.me` (`get`, `usage`), `vs.languages`, `vs.rtmp`, `vs.events`, `vs.meta`.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vocalstack"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.0a5"
|
|
8
8
|
description = "VocalStack speech API SDK (asyncio): one client grouped by resource, typed models from the API contract, realtime WebSocket streaming."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -226,7 +226,7 @@ except VocalStackError as e:
|
|
|
226
226
|
## More
|
|
227
227
|
|
|
228
228
|
- The other groups: `vs.transcriptions` (`list`, `get`, `update`, `archive`,
|
|
229
|
-
`restore`, `purge`, `list_share_links`, `create_share_link`), `vs.recordings`
|
|
229
|
+
`restore`, `purge`, `list_share_links`, `create_share_link`, `list_scripts`), `vs.recordings`
|
|
230
230
|
(`get`, `summarize`, `summary`, `translation`, `audio_url`, `subscribe`),
|
|
231
231
|
`vs.corrections`, `vs.share_links`, `vs.speakers`, `vs.voices`, `vs.broadcasts`,
|
|
232
232
|
`vs.me` (`get`, `usage`), `vs.languages`, `vs.rtmp`, `vs.events`, `vs.meta`.
|
|
@@ -1315,6 +1315,23 @@ class RtmpStatus(_Base):
|
|
|
1315
1315
|
stream_key: Optional[str] = Field(default=None, alias="streamKey")
|
|
1316
1316
|
|
|
1317
1317
|
|
|
1318
|
+
class Script(_Base):
|
|
1319
|
+
"""The broadcast or transcription something belongs to (a script, a share
|
|
1320
|
+
link): exactly one of `broadcastId` and `transcriptionId` is set.
|
|
1321
|
+
Flattened into its owner."""
|
|
1322
|
+
|
|
1323
|
+
broadcast_id: Optional[str] = Field(default=None, alias="broadcastId")
|
|
1324
|
+
created_at: str = Field(alias="createdAt")
|
|
1325
|
+
id: str
|
|
1326
|
+
locked: bool
|
|
1327
|
+
recording_id: Optional[str] = Field(default=None, alias="recordingId")
|
|
1328
|
+
scheduled_at: Optional[str] = Field(default=None, alias="scheduledAt")
|
|
1329
|
+
text: str
|
|
1330
|
+
transcription_id: Optional[str] = Field(default=None, alias="transcriptionId")
|
|
1331
|
+
updated_at: str = Field(alias="updatedAt")
|
|
1332
|
+
word_count: int = Field(alias="wordCount")
|
|
1333
|
+
|
|
1334
|
+
|
|
1318
1335
|
class SearchHit(_Base):
|
|
1319
1336
|
link_code: str = Field(alias="linkCode")
|
|
1320
1337
|
link_name: str = Field(alias="linkName")
|
|
@@ -150,6 +150,9 @@ class _ParentResource(_Group):
|
|
|
150
150
|
async def list_share_links(self, id: str) -> List[m.ShareLink]:
|
|
151
151
|
return _many(m.ShareLink, await self._t.json("GET", self._path(id, "/share-links")), "links")
|
|
152
152
|
|
|
153
|
+
async def list_scripts(self, id: str) -> List[m.Script]:
|
|
154
|
+
return _many(m.Script, await self._t.json("GET", self._path(id, "/scripts")), "scripts")
|
|
155
|
+
|
|
153
156
|
async def create_share_link(self, id: str, **fields: Any) -> m.ShareLink:
|
|
154
157
|
body = _body(m.CreateShareLink, fields)
|
|
155
158
|
return _one(m.ShareLink, await self._t.json("POST", self._path(id, "/share-links"), json_body=body))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|