Skip to content

Commit 69d14b3

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#1076)
1 parent dc30697 commit 69d14b3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1348
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6cbe8add32f8acdbd62db2535ff05cb698247f12ffc69168fc121409a8b05bec.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7c1749e86a3410071f606dc2289ff66d9c63b3fd27fb01c8f67bef49e521170d.yml
+7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import Optional
4+
from typing_extensions import Literal
45

56
from ..._models import BaseModel
67

78
__all__ = ["Caption"]
89

910

1011
class Caption(BaseModel):
12+
generated: Optional[bool] = None
13+
"""Whether the caption was generated via AI."""
14+
1115
label: Optional[str] = None
1216
"""The language label displayed in the native language to users."""
1317

1418
language: Optional[str] = None
1519
"""The language tag in BCP 47 format."""
20+
21+
status: Optional[Literal["ready", "inprogress", "error"]] = None
22+
"""The status of a generated caption."""

0 commit comments

Comments
 (0)