Skip to content

Commit 5f8a109

Browse files
docs(api): updates to API spec
1 parent 2518950 commit 5f8a109

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 33
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-9e04c6a51c55704029c529f2917d0e2b976cb7b6595128697db031ad7bd61a63.yml
3-
openapi_spec_hash: e8a95522dd13ffe4633cccc34bbd651d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-321826aa393f6f2c2e2ccc8b20795157f8b55908a96b4c28d90272f306ee3ff4.yml
3+
openapi_spec_hash: ccf23a9557962bab6ed52a94a25ecf1c
44
config_hash: 7a38bab086b53b43d2a719cb4d883264

src/writerai/types/application_list_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class InputOptionsApplicationInputFileOptions(BaseModel):
3535
max_word_count: int
3636
"""Maximum number of words allowed in text files."""
3737

38+
upload_types: List[Literal["url", "file_id"]]
39+
"""List of allowed upload types for file inputs."""
40+
3841

3942
class InputOptionsApplicationInputMediaOptions(BaseModel):
4043
file_types: List[str]

src/writerai/types/application_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class InputOptionsApplicationInputFileOptions(BaseModel):
3535
max_word_count: int
3636
"""Maximum number of words allowed in text files."""
3737

38+
upload_types: List[Literal["url", "file_id"]]
39+
"""List of allowed upload types for file inputs."""
40+
3841

3942
class InputOptionsApplicationInputMediaOptions(BaseModel):
4043
file_types: List[str]

0 commit comments

Comments
 (0)