Skip to content

Commit 67b6f06

Browse files
committed
fix: correct visibility option from "unlisted" to "unlist" in shared.py and voices.py
1 parent 3c2f829 commit 67b6f06

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/fishaudio/types/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PaginatedResponse(BaseModel, Generic[T]):
2727
AudioFormat = Literal["wav", "pcm", "mp3", "opus"]
2828

2929
# Visibility types
30-
Visibility = Literal["public", "unlisted", "private"]
30+
Visibility = Literal["public", "unlist", "private"]
3131

3232
# Training mode types
3333
TrainMode = Literal["fast"]

src/fishaudio/types/voices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Voice(BaseModel):
5757
created_at: Timestamp when the model was created
5858
updated_at: Timestamp when the model was last updated
5959
languages: List of supported language codes (e.g., ["en", "zh"])
60-
visibility: Model visibility. Options: "public", "private", "unlisted"
60+
visibility: Model visibility. Options: "public", "private", "unlist"
6161
lock_visibility: Whether visibility setting is locked
6262
like_count: Number of likes the model has received
6363
mark_count: Number of bookmarks/favorites

0 commit comments

Comments
 (0)