spitch 1.38.0__py3-none-any.whl → 1.39.0__py3-none-any.whl
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.
Potentially problematic release.
This version of spitch might be problematic. Click here for more details.
- spitch/_version.py +1 -1
- spitch/resources/files.py +114 -17
- spitch/resources/speech.py +6 -2
- spitch/resources/text.py +16 -3
- spitch/types/__init__.py +0 -1
- spitch/types/file.py +2 -1
- spitch/types/text_translate_params.py +8 -1
- spitch/types/translation.py +5 -0
- {spitch-1.38.0.dist-info → spitch-1.39.0.dist-info}/METADATA +1 -1
- {spitch-1.38.0.dist-info → spitch-1.39.0.dist-info}/RECORD +12 -13
- spitch/types/file_delete_response.py +0 -11
- {spitch-1.38.0.dist-info → spitch-1.39.0.dist-info}/WHEEL +0 -0
- {spitch-1.38.0.dist-info → spitch-1.39.0.dist-info}/licenses/LICENSE +0 -0
spitch/_version.py
CHANGED
spitch/resources/files.py
CHANGED
|
@@ -22,7 +22,6 @@ from ..pagination import SyncFilesCursor, AsyncFilesCursor
|
|
|
22
22
|
from ..types.file import File
|
|
23
23
|
from .._base_client import AsyncPaginator, make_request_options
|
|
24
24
|
from ..types.file_usage import FileUsage
|
|
25
|
-
from ..types.file_delete_response import FileDeleteResponse
|
|
26
25
|
from ..types.file_download_response import FileDownloadResponse
|
|
27
26
|
|
|
28
27
|
__all__ = ["FilesResource", "AsyncFilesResource"]
|
|
@@ -62,7 +61,16 @@ class FilesResource(SyncAPIResource):
|
|
|
62
61
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
63
62
|
) -> SyncFilesCursor[File]:
|
|
64
63
|
"""
|
|
65
|
-
Get
|
|
64
|
+
Get a paginated list of files for the authenticated organization.
|
|
65
|
+
|
|
66
|
+
Args: identity: Authentication identity containing org_id and user_id limit:
|
|
67
|
+
Maximum number of files to return (max 100) status: Optional filter by file
|
|
68
|
+
status (processing, ready, etc.) cursor: Optional pagination cursor for getting
|
|
69
|
+
next page db: Database session
|
|
70
|
+
|
|
71
|
+
Returns: ListFilesResponse: Paginated list of files with metadata
|
|
72
|
+
|
|
73
|
+
Raises: HTTPException: 400 if cursor is invalid
|
|
66
74
|
|
|
67
75
|
Args:
|
|
68
76
|
extra_headers: Send extra headers
|
|
@@ -103,9 +111,16 @@ class FilesResource(SyncAPIResource):
|
|
|
103
111
|
extra_query: Query | None = None,
|
|
104
112
|
extra_body: Body | None = None,
|
|
105
113
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
106
|
-
) ->
|
|
114
|
+
) -> object:
|
|
107
115
|
"""
|
|
108
|
-
Delete
|
|
116
|
+
Delete a file and its associated S3 object.
|
|
117
|
+
|
|
118
|
+
Args: file_id: UUID of the file to delete identity: Authentication identity
|
|
119
|
+
containing org_id db: Database session s3: S3 session for deleting objects
|
|
120
|
+
|
|
121
|
+
Returns: dict: Success confirmation
|
|
122
|
+
|
|
123
|
+
Raises: HTTPException: 404 if file not found or doesn't belong to org
|
|
109
124
|
|
|
110
125
|
Args:
|
|
111
126
|
extra_headers: Send extra headers
|
|
@@ -123,7 +138,7 @@ class FilesResource(SyncAPIResource):
|
|
|
123
138
|
options=make_request_options(
|
|
124
139
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
125
140
|
),
|
|
126
|
-
cast_to=
|
|
141
|
+
cast_to=object,
|
|
127
142
|
)
|
|
128
143
|
|
|
129
144
|
def download(
|
|
@@ -139,7 +154,17 @@ class FilesResource(SyncAPIResource):
|
|
|
139
154
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
140
155
|
) -> FileDownloadResponse:
|
|
141
156
|
"""
|
|
142
|
-
|
|
157
|
+
Generate a pre-signed download URL for a file.
|
|
158
|
+
|
|
159
|
+
Args: file_id: UUID of the file to download identity: Authentication identity
|
|
160
|
+
containing org_id ttl: Time-to-live for the download URL in seconds (60-3600)
|
|
161
|
+
db: Database session s3: S3 session for generating pre-signed URLs
|
|
162
|
+
|
|
163
|
+
Returns: FileDownloadResponse: Contains file_id, download URL, and expiration
|
|
164
|
+
time
|
|
165
|
+
|
|
166
|
+
Raises: HTTPException: 404 if file not found, doesn't belong to org, or not
|
|
167
|
+
ready
|
|
143
168
|
|
|
144
169
|
Args:
|
|
145
170
|
extra_headers: Send extra headers
|
|
@@ -176,7 +201,15 @@ class FilesResource(SyncAPIResource):
|
|
|
176
201
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
177
202
|
) -> File:
|
|
178
203
|
"""
|
|
179
|
-
Get
|
|
204
|
+
Get metadata for a specific file.
|
|
205
|
+
|
|
206
|
+
Args: file_id: UUID of the file to retrieve identity: Authentication identity
|
|
207
|
+
containing org_id db: Database session
|
|
208
|
+
|
|
209
|
+
Returns: FileMetaResponse: File metadata including upload information
|
|
210
|
+
|
|
211
|
+
Raises: HTTPException: 404 if file not found or doesn't belong to org
|
|
212
|
+
HTTPException: 500 if uploader information is corrupted
|
|
180
213
|
|
|
181
214
|
Args:
|
|
182
215
|
extra_headers: Send extra headers
|
|
@@ -209,7 +242,14 @@ class FilesResource(SyncAPIResource):
|
|
|
209
242
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
210
243
|
) -> File:
|
|
211
244
|
"""
|
|
212
|
-
Upload
|
|
245
|
+
Upload a file to the Spitch server.
|
|
246
|
+
|
|
247
|
+
Args: file: The file to upload from the request identity: Authentication
|
|
248
|
+
identity containing org_id and user_id db: Database session
|
|
249
|
+
|
|
250
|
+
Returns: FileMetaResponse: Metadata for the uploaded file
|
|
251
|
+
|
|
252
|
+
Raises: HTTPException: 500 if upload fails
|
|
213
253
|
|
|
214
254
|
Args:
|
|
215
255
|
extra_headers: Send extra headers
|
|
@@ -246,7 +286,15 @@ class FilesResource(SyncAPIResource):
|
|
|
246
286
|
extra_body: Body | None = None,
|
|
247
287
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
248
288
|
) -> FileUsage:
|
|
249
|
-
"""
|
|
289
|
+
"""
|
|
290
|
+
Get storage usage statistics for the authenticated organization.
|
|
291
|
+
|
|
292
|
+
Args: identity: Authentication identity containing org_id db: Database session
|
|
293
|
+
|
|
294
|
+
Returns: FileUsage: Usage statistics including total/used bytes and file count
|
|
295
|
+
|
|
296
|
+
Raises: HTTPException: 500 if unable to calculate usage
|
|
297
|
+
"""
|
|
250
298
|
return self._get(
|
|
251
299
|
"/v1/files:usage",
|
|
252
300
|
options=make_request_options(
|
|
@@ -290,7 +338,16 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
290
338
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
291
339
|
) -> AsyncPaginator[File, AsyncFilesCursor[File]]:
|
|
292
340
|
"""
|
|
293
|
-
Get
|
|
341
|
+
Get a paginated list of files for the authenticated organization.
|
|
342
|
+
|
|
343
|
+
Args: identity: Authentication identity containing org_id and user_id limit:
|
|
344
|
+
Maximum number of files to return (max 100) status: Optional filter by file
|
|
345
|
+
status (processing, ready, etc.) cursor: Optional pagination cursor for getting
|
|
346
|
+
next page db: Database session
|
|
347
|
+
|
|
348
|
+
Returns: ListFilesResponse: Paginated list of files with metadata
|
|
349
|
+
|
|
350
|
+
Raises: HTTPException: 400 if cursor is invalid
|
|
294
351
|
|
|
295
352
|
Args:
|
|
296
353
|
extra_headers: Send extra headers
|
|
@@ -331,9 +388,16 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
331
388
|
extra_query: Query | None = None,
|
|
332
389
|
extra_body: Body | None = None,
|
|
333
390
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
334
|
-
) ->
|
|
391
|
+
) -> object:
|
|
335
392
|
"""
|
|
336
|
-
Delete
|
|
393
|
+
Delete a file and its associated S3 object.
|
|
394
|
+
|
|
395
|
+
Args: file_id: UUID of the file to delete identity: Authentication identity
|
|
396
|
+
containing org_id db: Database session s3: S3 session for deleting objects
|
|
397
|
+
|
|
398
|
+
Returns: dict: Success confirmation
|
|
399
|
+
|
|
400
|
+
Raises: HTTPException: 404 if file not found or doesn't belong to org
|
|
337
401
|
|
|
338
402
|
Args:
|
|
339
403
|
extra_headers: Send extra headers
|
|
@@ -351,7 +415,7 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
351
415
|
options=make_request_options(
|
|
352
416
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
353
417
|
),
|
|
354
|
-
cast_to=
|
|
418
|
+
cast_to=object,
|
|
355
419
|
)
|
|
356
420
|
|
|
357
421
|
async def download(
|
|
@@ -367,7 +431,17 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
367
431
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
368
432
|
) -> FileDownloadResponse:
|
|
369
433
|
"""
|
|
370
|
-
|
|
434
|
+
Generate a pre-signed download URL for a file.
|
|
435
|
+
|
|
436
|
+
Args: file_id: UUID of the file to download identity: Authentication identity
|
|
437
|
+
containing org_id ttl: Time-to-live for the download URL in seconds (60-3600)
|
|
438
|
+
db: Database session s3: S3 session for generating pre-signed URLs
|
|
439
|
+
|
|
440
|
+
Returns: FileDownloadResponse: Contains file_id, download URL, and expiration
|
|
441
|
+
time
|
|
442
|
+
|
|
443
|
+
Raises: HTTPException: 404 if file not found, doesn't belong to org, or not
|
|
444
|
+
ready
|
|
371
445
|
|
|
372
446
|
Args:
|
|
373
447
|
extra_headers: Send extra headers
|
|
@@ -404,7 +478,15 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
404
478
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
405
479
|
) -> File:
|
|
406
480
|
"""
|
|
407
|
-
Get
|
|
481
|
+
Get metadata for a specific file.
|
|
482
|
+
|
|
483
|
+
Args: file_id: UUID of the file to retrieve identity: Authentication identity
|
|
484
|
+
containing org_id db: Database session
|
|
485
|
+
|
|
486
|
+
Returns: FileMetaResponse: File metadata including upload information
|
|
487
|
+
|
|
488
|
+
Raises: HTTPException: 404 if file not found or doesn't belong to org
|
|
489
|
+
HTTPException: 500 if uploader information is corrupted
|
|
408
490
|
|
|
409
491
|
Args:
|
|
410
492
|
extra_headers: Send extra headers
|
|
@@ -437,7 +519,14 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
437
519
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
438
520
|
) -> File:
|
|
439
521
|
"""
|
|
440
|
-
Upload
|
|
522
|
+
Upload a file to the Spitch server.
|
|
523
|
+
|
|
524
|
+
Args: file: The file to upload from the request identity: Authentication
|
|
525
|
+
identity containing org_id and user_id db: Database session
|
|
526
|
+
|
|
527
|
+
Returns: FileMetaResponse: Metadata for the uploaded file
|
|
528
|
+
|
|
529
|
+
Raises: HTTPException: 500 if upload fails
|
|
441
530
|
|
|
442
531
|
Args:
|
|
443
532
|
extra_headers: Send extra headers
|
|
@@ -474,7 +563,15 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
474
563
|
extra_body: Body | None = None,
|
|
475
564
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
476
565
|
) -> FileUsage:
|
|
477
|
-
"""
|
|
566
|
+
"""
|
|
567
|
+
Get storage usage statistics for the authenticated organization.
|
|
568
|
+
|
|
569
|
+
Args: identity: Authentication identity containing org_id db: Database session
|
|
570
|
+
|
|
571
|
+
Returns: FileUsage: Usage statistics including total/used bytes and file count
|
|
572
|
+
|
|
573
|
+
Raises: HTTPException: 500 if unable to calculate usage
|
|
574
|
+
"""
|
|
478
575
|
return await self._get(
|
|
479
576
|
"/v1/files:usage",
|
|
480
577
|
options=make_request_options(
|
spitch/resources/speech.py
CHANGED
|
@@ -33,6 +33,8 @@ __all__ = ["SpeechResource", "AsyncSpeechResource"]
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
class SpeechResource(SyncAPIResource):
|
|
36
|
+
"""All speech-focused APIs (TTS and STT)"""
|
|
37
|
+
|
|
36
38
|
@cached_property
|
|
37
39
|
def with_raw_response(self) -> SpeechResourceWithRawResponse:
|
|
38
40
|
"""
|
|
@@ -102,7 +104,7 @@ class SpeechResource(SyncAPIResource):
|
|
|
102
104
|
|
|
103
105
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
104
106
|
"""
|
|
105
|
-
extra_headers = {"Accept": "audio
|
|
107
|
+
extra_headers = {"Accept": "audio/*", **(extra_headers or {})}
|
|
106
108
|
return self._post(
|
|
107
109
|
"/v1/speech",
|
|
108
110
|
body=maybe_transform(
|
|
@@ -176,6 +178,8 @@ class SpeechResource(SyncAPIResource):
|
|
|
176
178
|
|
|
177
179
|
|
|
178
180
|
class AsyncSpeechResource(AsyncAPIResource):
|
|
181
|
+
"""All speech-focused APIs (TTS and STT)"""
|
|
182
|
+
|
|
179
183
|
@cached_property
|
|
180
184
|
def with_raw_response(self) -> AsyncSpeechResourceWithRawResponse:
|
|
181
185
|
"""
|
|
@@ -245,7 +249,7 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
245
249
|
|
|
246
250
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
247
251
|
"""
|
|
248
|
-
extra_headers = {"Accept": "audio
|
|
252
|
+
extra_headers = {"Accept": "audio/*", **(extra_headers or {})}
|
|
249
253
|
return await self._post(
|
|
250
254
|
"/v1/speech",
|
|
251
255
|
body=await async_maybe_transform(
|
spitch/resources/text.py
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import Optional
|
|
5
6
|
from typing_extensions import Literal
|
|
6
7
|
|
|
7
8
|
import httpx
|
|
8
9
|
|
|
9
10
|
from ..types import text_tone_mark_params, text_translate_params
|
|
10
|
-
from .._types import Body, Query, Headers, NotGiven, not_given
|
|
11
|
+
from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
11
12
|
from .._utils import maybe_transform, async_maybe_transform
|
|
12
13
|
from .._compat import cached_property
|
|
13
14
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -88,7 +89,10 @@ class TextResource(SyncAPIResource):
|
|
|
88
89
|
*,
|
|
89
90
|
source: Literal["yo", "en", "ha", "ig", "am"],
|
|
90
91
|
target: Literal["yo", "en", "ha", "ig", "am"],
|
|
91
|
-
|
|
92
|
+
file_id: Optional[str] | Omit = omit,
|
|
93
|
+
instructions: Optional[str] | Omit = omit,
|
|
94
|
+
model: Literal["human", "auto"] | Omit = omit,
|
|
95
|
+
text: Optional[str] | Omit = omit,
|
|
92
96
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
93
97
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
94
98
|
extra_headers: Headers | None = None,
|
|
@@ -114,6 +118,9 @@ class TextResource(SyncAPIResource):
|
|
|
114
118
|
{
|
|
115
119
|
"source": source,
|
|
116
120
|
"target": target,
|
|
121
|
+
"file_id": file_id,
|
|
122
|
+
"instructions": instructions,
|
|
123
|
+
"model": model,
|
|
117
124
|
"text": text,
|
|
118
125
|
},
|
|
119
126
|
text_translate_params.TextTranslateParams,
|
|
@@ -189,7 +196,10 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
189
196
|
*,
|
|
190
197
|
source: Literal["yo", "en", "ha", "ig", "am"],
|
|
191
198
|
target: Literal["yo", "en", "ha", "ig", "am"],
|
|
192
|
-
|
|
199
|
+
file_id: Optional[str] | Omit = omit,
|
|
200
|
+
instructions: Optional[str] | Omit = omit,
|
|
201
|
+
model: Literal["human", "auto"] | Omit = omit,
|
|
202
|
+
text: Optional[str] | Omit = omit,
|
|
193
203
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
194
204
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
195
205
|
extra_headers: Headers | None = None,
|
|
@@ -215,6 +225,9 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
215
225
|
{
|
|
216
226
|
"source": source,
|
|
217
227
|
"target": target,
|
|
228
|
+
"file_id": file_id,
|
|
229
|
+
"instructions": instructions,
|
|
230
|
+
"model": model,
|
|
218
231
|
"text": text,
|
|
219
232
|
},
|
|
220
233
|
text_translate_params.TextTranslateParams,
|
spitch/types/__init__.py
CHANGED
|
@@ -10,7 +10,6 @@ from .translation import Translation as Translation
|
|
|
10
10
|
from .transcription import Transcription as Transcription
|
|
11
11
|
from .file_list_params import FileListParams as FileListParams
|
|
12
12
|
from .file_upload_params import FileUploadParams as FileUploadParams
|
|
13
|
-
from .file_delete_response import FileDeleteResponse as FileDeleteResponse
|
|
14
13
|
from .file_download_params import FileDownloadParams as FileDownloadParams
|
|
15
14
|
from .text_tone_mark_params import TextToneMarkParams as TextToneMarkParams
|
|
16
15
|
from .text_translate_params import TextTranslateParams as TextTranslateParams
|
spitch/types/file.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import Optional
|
|
4
4
|
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal
|
|
5
6
|
|
|
6
7
|
from .._models import BaseModel
|
|
7
8
|
|
|
@@ -21,6 +22,6 @@ class File(BaseModel):
|
|
|
21
22
|
|
|
22
23
|
size_bytes: Optional[int] = None
|
|
23
24
|
|
|
24
|
-
status:
|
|
25
|
+
status: Literal["uploading", "ready"]
|
|
25
26
|
|
|
26
27
|
uploaded_by: Optional[str] = None
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import Optional
|
|
5
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
6
7
|
|
|
7
8
|
__all__ = ["TextTranslateParams"]
|
|
@@ -12,4 +13,10 @@ class TextTranslateParams(TypedDict, total=False):
|
|
|
12
13
|
|
|
13
14
|
target: Required[Literal["yo", "en", "ha", "ig", "am"]]
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
file_id: Optional[str]
|
|
17
|
+
|
|
18
|
+
instructions: Optional[str]
|
|
19
|
+
|
|
20
|
+
model: Literal["human", "auto"]
|
|
21
|
+
|
|
22
|
+
text: Optional[str]
|
spitch/types/translation.py
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
|
|
3
6
|
from .._models import BaseModel
|
|
4
7
|
|
|
5
8
|
__all__ = ["Translation"]
|
|
@@ -9,3 +12,5 @@ class Translation(BaseModel):
|
|
|
9
12
|
request_id: str
|
|
10
13
|
|
|
11
14
|
text: str
|
|
15
|
+
|
|
16
|
+
due_date: Optional[datetime] = None
|
|
@@ -11,7 +11,7 @@ spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
|
|
|
11
11
|
spitch/_response.py,sha256=-1LLK1wjPW3Hcro9NXjf_SnPRArU1ozdctNIStvxbWo,28690
|
|
12
12
|
spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
|
|
13
13
|
spitch/_types.py,sha256=oa5CdZaglGw0wrxxpdWxeoliiTfNpce300esw52GnGk,7260
|
|
14
|
-
spitch/_version.py,sha256=
|
|
14
|
+
spitch/_version.py,sha256=hsTeegcoUyLuJZ43lFF7-m_PsheGWgh3sW24EumLikU,159
|
|
15
15
|
spitch/pagination.py,sha256=XQaAXcd1OtYzc7zqwCJLQVqFMkC0W-1-0njeSyxT88A,1312
|
|
16
16
|
spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
spitch/_utils/__init__.py,sha256=WhaZJLzT8oCtvdIvbs8gyd6emLYa4usodcqgcpFiciU,2259
|
|
@@ -28,13 +28,12 @@ spitch/_utils/_typing.py,sha256=AmI-ZWKfmGpa8sE_wXUPqJm-aqfO8JapbGAk7bX-Sy0,4156
|
|
|
28
28
|
spitch/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
|
29
29
|
spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
30
30
|
spitch/resources/__init__.py,sha256=oUfkZqMUtVuaZj1l1YuWwDDcfCTFMs89K1-DNgM89VY,1413
|
|
31
|
-
spitch/resources/files.py,sha256=
|
|
32
|
-
spitch/resources/speech.py,sha256=
|
|
33
|
-
spitch/resources/text.py,sha256=
|
|
34
|
-
spitch/types/__init__.py,sha256=
|
|
31
|
+
spitch/resources/files.py,sha256=Tac8zPK6unJEzeB57ZlBuPVC1EasIiImNrs-qERZCkg,25938
|
|
32
|
+
spitch/resources/speech.py,sha256=8hPIV_Xw-bFMn0Oo96bx6OorRKvy4xi_e3VZkKsBCEg,13526
|
|
33
|
+
spitch/resources/text.py,sha256=O6jJCtoM5ajVOn1s6q48Pz3OvZhL6HwYJg0ukpkHDJw,10199
|
|
34
|
+
spitch/types/__init__.py,sha256=FiURBa3qgB02NnovHxVjAQwTihCMb-06hMpVkihJNPs,1004
|
|
35
35
|
spitch/types/diacritics.py,sha256=btOCAZTQ5qLjN78nCb7kyfJeBeBKW4nXlA9T8hsVquE,211
|
|
36
|
-
spitch/types/file.py,sha256=
|
|
37
|
-
spitch/types/file_delete_response.py,sha256=r4OwDVrG4BGSEdqYyr7iPpaPzon5pm5Wx61KIRZk1zY,255
|
|
36
|
+
spitch/types/file.py,sha256=JqaBmIenjSwk4Z3-Idyg7CQF4Xvu5m7m4JsqeiSJUsY,541
|
|
38
37
|
spitch/types/file_download_params.py,sha256=tCiwTeSSbPuniZXdiOQll7Bdc2enBp9yJD-D9SpeEqg,262
|
|
39
38
|
spitch/types/file_download_response.py,sha256=OeO6JIFo97dLZcL8iTtazGU1PVZy1rp5VVa5w6d8DHg,284
|
|
40
39
|
spitch/types/file_list_params.py,sha256=FrWZhMUC38sGkBtdQKateTyStVuMOz90x5AHtkoZnzk,373
|
|
@@ -44,10 +43,10 @@ spitch/types/files.py,sha256=FkNfexYBP3Ug4klnbGbGQTtXj6DC9y4Akbhd78ijb-c,285
|
|
|
44
43
|
spitch/types/speech_generate_params.py,sha256=9kjye1XOMJPNZginEDMTS6Gt05bkB1s1r5H7oEj1Chk,1037
|
|
45
44
|
spitch/types/speech_transcribe_params.py,sha256=fAVwTfPRR4aLzcu4Y8qrmKXESemnWJIdnyhyVcR3W20,613
|
|
46
45
|
spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-MoeSt0Sms,355
|
|
47
|
-
spitch/types/text_translate_params.py,sha256=
|
|
46
|
+
spitch/types/text_translate_params.py,sha256=3rHSFo3ITqvUEGkm2iL-cy1HDZnYeojqHdgc3W2oWfc,542
|
|
48
47
|
spitch/types/transcription.py,sha256=SrbWIwItrt-FdPUPV8PofYTxzLCiwxg7Ya4QsKE1PoY,393
|
|
49
|
-
spitch/types/translation.py,sha256=
|
|
50
|
-
spitch-1.
|
|
51
|
-
spitch-1.
|
|
52
|
-
spitch-1.
|
|
53
|
-
spitch-1.
|
|
48
|
+
spitch/types/translation.py,sha256=GbqjtTZTuULha75cMEUVizfz8ZenvdFHQ2jr7_1wxNY,313
|
|
49
|
+
spitch-1.39.0.dist-info/METADATA,sha256=8ikEyUlW9cBJwlnhXMooXu-Xa1B52t9_lnsa24EJbXU,15962
|
|
50
|
+
spitch-1.39.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
51
|
+
spitch-1.39.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
|
|
52
|
+
spitch-1.39.0.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from .._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["FileDeleteResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class FileDeleteResponse(BaseModel):
|
|
11
|
-
status: Optional[bool] = None
|
|
File without changes
|
|
File without changes
|